Basket document (Shop API 19.10)

(supports custom properties)

Document representing a basket.

The following flashes are used to indicate the invalidity of a basket:
Property Type Constraints Description
adjusted_merchandize_total_tax Decimal   The products tax after discounts applying in purchase currency. Adjusted merchandize prices represent the sum of product prices before services such as shipping have been added, but after adjustment from promotions have been added.
adjusted_shipping_total_tax Decimal   The tax of all shipping line items of the line item container after shipping adjustments have been applied.
agent_basket boolean   Is the basket created by an agent?
basket_id String   The unique identifier for the basket.
billing_address OrderAddress   The billing address. This property is part of basket checkout information only.
bonus_discount_line_items [BonusDiscountLineItem]   The bonus discount line items of the line item container.
channel_type Enum {storefront, callcenter, marketplace, dss, store, pinterest, twitter, facebookads, subscriptions, onlinereservation, customerservicecenter, instagramcommerce}   The sales channel for the order.
coupon_items [CouponItem]   The sorted array of coupon items. This array can be empty.
creation_date Date   Returns the value of attribute 'creationDate'.
currency String   The ISO 4217 mnemonic code of the currency.
customer_info CustomerInfo   The customer information for logged in customers. This property is part of basket checkout information only.
gift_certificate_items [GiftCertificateItem]   The sorted array of gift certificate line items. This array can be empty.
inventory_reservation_expiry Date    
last_modified Date   Returns the value of attribute 'lastModified'.
merchandize_total_tax Decimal   The products total tax in purchase currency. Merchandize total prices represent the sum of product prices before services such as shipping or adjustment from promotions have been added.
notes SimpleLink   The notes for the line item container.
order_price_adjustments [PriceAdjustment]   The array of order level price adjustments. This array can be empty.
order_total Decimal   The total price of the order, including products, shipping and tax. This property is part of basket checkout information only.
payment_instruments [OrderPaymentInstrument]   The payment instruments list for the order.
product_items [ProductItem]   The sorted array of product items (up to a maximum of 50 items). This array can be empty.
product_sub_total Decimal   The total price of all product items after all product discounts. Depending on taxation policy the returned price is net or gross.
product_total Decimal   The total price of all product items after all product and order discounts. Depending on taxation policy the returned price is net or gross.
shipments [Shipment]   The array of shipments. This property is part of basket checkout information only.
shipping_items [ShippingItem]   The sorted array of shipping items. This array can be empty.
shipping_total Decimal   The total shipping price of the order after all shipping discounts. Excludes tax if taxation policy is net. Includes tax if taxation policy is gross. This property is part of basket checkout information only.
shipping_total_tax Decimal   The tax of all shipping line items of the line item container before shipping adjustments have been applied.
source_code String   Gets the source code assigned to this basket.
tax_total Decimal   The total tax amount of the order. This property is part of basket checkout information only.
taxation Enum {gross, net}   The taxation the line item container is based on.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. By continuing to use this site you are giving us your consent to do this.