CreateShippingOptionDTO

The shipping option to be created.

namestring
The name of the shipping option.
The type of the shipping option's price.
service_zone_idstring
The associated service zone's ID.
shipping_profile_idstring
The associated shipping profile's ID.
provider_idstring
The associated provider's ID.
typeOmit<CreateShippingOptionTypeDTO, "shipping_option_id">
The shipping option type associated with the shipping option.
datanull | Record<string, unknown>Optional
The data necessary for the associated fulfillment provider to process the shipping option and its associated fulfillments.
rulesOmit<CreateShippingOptionRuleDTO, "shipping_option_id">[]Optional
The shipping option rules associated with the shipping option.
Was this page helpful?
Edit this page
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break