Skip to content

Latest commit

 

History

History
31 lines (29 loc) · 2.59 KB

File metadata and controls

31 lines (29 loc) · 2.59 KB

ShippingOption

Properties

Name Type Description Notes
id String The shipping option's ID
name String The name given to the Shipping Option - this may be displayed to the Customer.
regionId String The region's ID
region Object A region object. Available if the relation `region` is expanded. [optional]
profileId String The ID of the Shipping Profile that the shipping option belongs to. Shipping Profiles have a set of defined Shipping Options that can be used to Fulfill a given set of Products.
profile ShippingProfile [optional]
providerId String The id of the Fulfillment Provider, that will be used to process Fulfillments from the Shipping Option.
provider FulfillmentProvider [optional]
priceType PriceTypeEnum The type of pricing calculation that is used when creatin Shipping Methods from the Shipping Option. Can be `flat_rate` for fixed prices or `calculated` if the Fulfillment Provider can provide price calulations.
amount Integer The amount to charge for shipping when the Shipping Option price type is `flat_rate`.
isReturn Boolean Flag to indicate if the Shipping Option can be used for Return shipments.
adminOnly Boolean Flag to indicate if the Shipping Option usage is restricted to admin users.
requirements List<ShippingOptionRequirement> The requirements that must be satisfied for the Shipping Option to be available for a Cart. Available if the relation `requirements` is expanded. [optional]
data Object The data needed for the Fulfillment Provider to identify the Shipping Option.
includesTax Boolean [EXPERIMENTAL] Does the shipping option price include tax [optional]
createdAt OffsetDateTime The date with timezone at which the resource was created.
updatedAt OffsetDateTime The date with timezone at which the resource was updated.
deletedAt OffsetDateTime The date with timezone at which the resource was deleted.
metadata Object An optional key-value map with additional details

Enum: PriceTypeEnum

Name Value
FLAT_RATE "flat_rate"
CALCULATED "calculated"