AdminPostShippingOptionsReq
The details of the shipping option to create.
Properties
namestringRequiredThe name of the Shipping Option
region_idstringRequiredThe ID of the Region in which the Shipping Option will be available.
provider_idstringRequiredThe ID of the Fulfillment Provider that handles the Shipping Option.
dataRecord<string, unknown>RequiredThe data needed for the Fulfillment Provider to handle shipping with this Shipping Option.
The type of the Shipping Option price. flat\_rate indicates fixed pricing, whereas calculated indicates that the price will be calculated each time by the fulfillment provider.
flat\_rate indicates fixed pricing, whereas calculated indicates that the price will be calculated each time by the fulfillment provider.profile_idstringThe ID of the Shipping Profile to add the Shipping Option to.
amountnumberThe amount to charge for the Shipping Option. If the 
price\_type is set to calculated, this amount will not actually be used.requirementsOptionRequirement[]The requirements that must be satisfied for the Shipping Option to be available.
requirementsOptionRequirement[]admin_onlybooleanIf set to 
true, the shipping option can only be used when creating draft orders.Default: false
is_returnbooleanWhether the Shipping Option can be used for returns or during checkout.
Default: false
metadataRecord<string, unknown>An optional set of key-value pairs with additional information.
includes_taxbooleanTax included in prices of shipping option
Was this section helpful?