Back to Medusa

UpdateShippingOptionRuleDTO

www/apps/resources/references/fulfillment/interfaces/fulfillment.UpdateShippingOptionRuleDTO/page.mdx

2.14.21.2 KB
Original Source

import { TypeList } from "docs-ui"

UpdateShippingOptionRuleDTO

The attributes to update in the shipping option rule.

<TypeList types={[{"name":"id","type":"string","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"string","description":"The attribute of the shipping option rule.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"RuleOperatorType","description":"The operator of the shipping option rule.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"string \| string[]","description":"The value(s) of the shipping option rule.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"string","description":"The associated shipping option's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="UpdateShippingOptionRuleDTO"/>