Skip to content

cart object

The customer's cart.

Properties


NameTypeDescription
idstringCart identifier
itemsarray of cart_item objectCart items
sub_totalnumberCart items subtotal
totalnumberCart total (Including VAT)
one_page_checkoutbooleanWhether one page checkout is toggled on or off
available_shipping_optionsarray of shipping_zone objectList of available shipping zones
detected_countryarray of shipping_zone objectThe shipping zone based on the customer's country
cart_submit_urlstringThe checkout URL
countnumberTotal items in cart
discounted_pricenumberThe discount amount when a coupon is active
vatnumberThe VAT percentage
tax_amountnumberTotal tax amount
couponarray of coupon objectArray of active coupon