AdminPostShippingOptionsReq
Properties
admin_onlybooleanIf set to
true, the shipping option can only be used when creating draft orders.Default: false
amountnumberThe amount to charge for the Shipping Option. If the
price\_type is set to calculated, this amount will not actually be used.dataobjectRequiredThe data needed for the Fulfillment Provider to handle shipping with this Shipping Option.
includes_taxbooleanTax included in prices of shipping option
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.
namestringRequiredThe name of the Shipping Option
price_typestringRequiredThe 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.profile_idstringThe ID of the Shipping Profile to add the Shipping Option to.
provider_idstringRequiredThe ID of the Fulfillment Provider that handles the Shipping Option.
region_idstringRequiredThe ID of the Region in which the Shipping Option will be available.
requirementsOptionRequirement[]The requirements that must be satisfied for the Shipping Option to be available.
Was this section helpful?