Skip to main content
Skip to main content
You're viewing the documentation for v1, which isn't the latest Medusa version.Latest documentation

CreateShippingOptionDTO

The shipping option to be created.

Properties

namestringRequired
The name of the shipping option.
price_typeShippingOptionPriceTypeRequired
The type of the shipping option's price.
service_zone_idstringRequired
The associated service zone's ID.
shipping_profile_idstringRequired
The associated shipping profile's ID.
provider_idstringRequired
The associated provider's ID.
typeOmit<CreateShippingOptionTypeDTO, "shipping_option_id">Required
The shipping option type associated with the shipping option.
datanull | Record<string, unknown>
The data necessary for the associated fulfillment provider to process the shipping option and its associated fulfillments.
rulesOmit<CreateShippingOptionRuleDTO, "shipping_option_id">[]
The shipping option rules associated with the shipping option.
Was this section helpful?