cart
object
The customer's cart.
Properties
Name | Type | Description |
---|---|---|
id | string | Cart identifier |
items | array of cart_item object | Cart items |
sub_total | number | Cart items subtotal |
total | number | Cart total (Including VAT) |
one_page_checkout | boolean | Whether one page checkout is toggled on or off |
available_shipping_options | array of shipping_zone object | List of available shipping zones |
detected_country | array of shipping_zone object | The shipping zone based on the customer's country |
cart_submit_url | string | The checkout URL |
count | number | Total items in cart |
discounted_price | number | The discount amount when a coupon is active |
vat | number | The VAT percentage |
tax_amount | number | Total tax amount |
coupon | array of coupon object | Array of active coupon |