UpsertShippingOptionDTO
A shipping option to be created or updated.
The shipping option type associated with the shipping option.
id
stringThe ID of the shipping option.
name
stringThe name of the shipping option.
price_type
ShippingOptionPriceTypeThe type of the shipping option's price.
service_zone_id
stringThe associated service zone's ID.
shipping_profile_id
stringThe associated shipping profile's ID.
provider_id
stringThe associated provider's ID.
data
null | 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?