Skip to main content
Skip to main content

UpsertShippingOptionDTO

A shipping option to be created or updated.

typeOmit<CreateShippingOptionTypeDTO, "shipping_option_id"> | objectRequired
The shipping option type associated with the shipping option.
idstring
The ID of the shipping option.
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.
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?