Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 1.14 KB

File metadata and controls

18 lines (16 loc) · 1.14 KB

ShippingOptionRequirement

Properties

Name Type Description Notes
id String The shipping option requirement's ID
shippingOptionId String The id of the Shipping Option that the hipping option requirement belongs to
shippingOption Object Available if the relation `shipping_option` is expanded. [optional]
type TypeEnum The type of the requirement, this defines how the value will be compared to the Cart's total. `min_subtotal` requirements define the minimum subtotal that is needed for the Shipping Option to be available, while the `max_subtotal` defines the maximum subtotal that the Cart can have for the Shipping Option to be available.
amount Integer The amount to compare the Cart subtotal to.
deletedAt OffsetDateTime The date with timezone at which the resource was deleted.

Enum: TypeEnum

Name Value
MIN_SUBTOTAL "min_subtotal"
MAX_SUBTOTAL "max_subtotal"