UpsertShippingOptionDTO
A shipping option to be created or updated.
The shipping option type associated with the shipping option.
idstringThe ID of the shipping option.
namestringThe name of the shipping option.
price_typeShippingOptionPriceTypeThe type of the shipping option's price.
service_zone_idstringThe associated service zone's ID.
shipping_profile_idstringThe associated shipping profile's ID.
provider_idstringThe associated provider's ID.
datanull | Record<string, unknown>The data necessary for the associated fulfillment provider to process the shipping option
and its associated fulfillments.
rules(Omit<CreateShippingOptionRuleDTO, "shipping_option_id"> | object)[]The shipping option rules associated with the shipping option.
Was this section helpful?