AdminPostShippingOptionsReq
constructor
Properties
admin_only
booleanIf set to
true
, the shipping option can only be used when creating draft orders.Default: false
amount
numberThe amount to charge for the Shipping Option. If the
price\_type
is set to calculated
, this amount will not actually be used.data
objectRequiredThe data needed for the Fulfillment Provider to handle shipping with this Shipping Option.
includes_tax
booleanTax included in prices of shipping option
is_return
booleanWhether the Shipping Option can be used for returns or during checkout.
Default: false
metadata
Record<string, unknown>An optional set of key-value pairs with additional information.
name
stringRequiredThe name of the Shipping Option
price_type
stringRequiredThe 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_id
stringThe ID of the Shipping Profile to add the Shipping Option to.
provider_id
stringRequiredThe ID of the Fulfillment Provider that handles the Shipping Option.
region_id
stringRequiredThe ID of the Region in which the Shipping Option will be available.
requirements
OptionRequirement[]The requirements that must be satisfied for the Shipping Option to be available.
requirements
OptionRequirement[]Was this section helpful?