A customer’s cart.

PropertiesTypeDescription
currencystringThe currency of the cart, e.g. USD.

The currency is currently market currency when you have added other markets.
discount_applicationsan array of discount_applicationThe discount applications for the cart.
discount_line_item_pricenumberThe discounted total price for the discount_applications.
item_countnumberThe number of items in the cart.
line_itemsan array of line_itemThe line items in the cart.
line_pricestringThe combined price of all items in a line item in the currency's subunit, before any discounts have been applied.

The value is equal to the line_item.price multiplied by line_item.quantity. It's output in the customer's local(presentment) currency.
notestringAdditional information is captured with the cart.
original_line_pricestringThe combined origin price of all items in a line item in the currency's subunit, before any discounts have been applied.

The value is equal to the line_item.compare_at_price multiplied by line_item.quantity. It's output in the customer's local(presentment) currency.
original_total_pricestringSame as original_total_price.
total_discountstringThe total amount of all discounts (the amount saved) for the cart in the currency's subunit.
total_pricestringThe total price of all items in the cart in the currency's subunit, after discounts have been applied.
total_weightnumberThe total weight of all of the items in the cart.
{
  "line_items": [
    {
      "id": "298084_d41d8cd98f00b204e9800998ecf8427e",
      "properties": "[]",
      "note": "",
      "cart_id": "298084",
      "store_id": "7126",
      "user_id": "",
      "user_sign": "8f7be7ef-367f-473c-91b6-b32a75971450",
      "product_id": "21578cd8-9cd5-44ce-a399-efe803bb54f9",
      "variant_id": "e8c2dc60-428f-4f50-be2e-2d1766fb3a3b",
      "quantity": "1",
      "created_at": "2023-07-06 15:26:55",
      "updated_at": "2023-07-06 15:31:04",
      "custom": false,
      "price": "228",
      "trunk_price": "0",
      "parts_price": null,
      "variant_title": "DarkRed",
      "product_title": "Cat Eye Sunglasses",
      "product_handle": "cat-eye-sunglasses",
      "product_tags": [],
      "published": true,
      "published_at": "2022-02-10T02:28:34Z",
      "product_url": "/products/cat-eye-sunglasses",
      "inventory_quantity": 90,
      "inventory_policy": "deny",
      "inventory_tracking": true,
      "available": true,
      "available_quantity": 90,
      "compare_at_price": "0",
      "cost_price": "0.00",
      "weight": "0.00",
      "weight_unit": "kg",
      "sku": "RNB1021S-1-1",
      "spu": "",
      "vendor": "Nero",
      "vendor_url": "",
      "taxable": false,
      "requires_shipping": true,
      "barcode": "",
      "mixed_wholesale": false,
      "tax_code": "",
      "retail_price": "0.00",
      "product_type": "",
      "image": {
        "src": "//cdn.shoplazza.com/330aa4aff48eddb11edcd44c1c2fa335.jpeg",
        "path": "330aa4aff48eddb11edcd44c1c2fa335.jpeg",
        "width": 1280,
        "height": 1710,
        "alt": ""
      },
      "options": [
        {
          "name": "Color",
          "value": "DarkRed"
        }
      ],
      "wholesale_price": [
        {
          "min_quantity": 1,
          "price": "228.00"
        }
      ],
      "total_price": "0",
      "discount_applications": [],
      "saved_price": -228,
      "line_price": "228.00",
      "original_line_price": 0,
      "customary_off_ratio": 0,
      "flashsale_tip": false,
      "item_id": "298084",
      "can_buy": true,
      "discount_total": "0.00",
      "final_line_price": "228.00",
      "final_price": "228.00"
    },
    {
      "id": "298083_1825cbb82902c53fdc4e12283829e832",
      "properties": "",
      "note": "",
      "variant_id": "f0d96c46-d1e8-4b94-a80f-f79d938dbd71",
      "product_id": "bfcb3b27-9a45-4499-a8a5-26808c168be9",
      "quantity": "1",
      "discount_id": "65c00d9b-060c-4206-a2d8-f2971cacee43",
      "limit_time": -1,
      "limit_buy": 0,
      "user_limit_buy": -1,
      "discount_sales_rate": "0",
      "discount_stock": 90,
      "ends_at": -1,
      "starts_at": 1682405275,
      "allow_oversold": "uncheck",
      "allocation_method": "none",
      "price": "427.5",
      "compare_at_price": "450",
      "discount_price": "427.5",
      "customary_saved_price": "22.5",
      "customary_off_ratio": 5,
      "discount_saved_price": "22.5",
      "discount_off_ratio": "5",
      "use_before_price": false,
      "before_price": "350",
      "title": "促销",
      "trunk_price": "0",
      "total_price": "0",
      "inventory_tracking": true,
      "inventory_policy": "deny",
      "inventory_quantity": 90,
      "cart_id": "298083",
      "store_id": "7126",
      "user_id": "",
      "user_sign": "8f7be7ef-367f-473c-91b6-b32a75971450",
      "created_at": "2023-07-06 15:25:06",
      "updated_at": "2023-07-06 15:25:06",
      "custom": false,
      "parts_price": null,
      "variant_title": "Black-XS",
      "product_title": "Allegra Tank Polished Crepe Dress",
      "product_handle": "allegra-tank-polished-crepe-dress",
      "product_tags": [
        "Color_Black",
        "Color_Tomato",
        "flash_sale_2020-2-30",
        "Location_Louisiana",
        "Price_$300-$400"
      ],
      "published": true,
      "published_at": "2022-02-10T02:29:32Z",
      "product_url": "/products/allegra-tank-polished-crepe-dress",
      "available": true,
      "available_quantity": 90,
      "cost_price": "0.00",
      "weight": "0.00",
      "weight_unit": "kg",
      "sku": "W294T33PM-1",
      "spu": "",
      "vendor": "Nero",
      "vendor_url": "",
      "taxable": false,
      "requires_shipping": true,
      "barcode": "",
      "mixed_wholesale": false,
      "tax_code": "",
      "retail_price": "0.00",
      "product_type": "",
      "image": {
        "src": "//cdn.shoplazza.com/c61e065229336ecb335c8f37faa58334.jpeg",
        "path": "c61e065229336ecb335c8f37faa58334.jpeg",
        "width": 1280,
        "height": 1710,
        "alt": ""
      },
      "options": [
        {
          "name": "Color",
          "value": "Black"
        },
        {
          "name": "Size",
          "value": "XS"
        }
      ],
      "wholesale_price": [
        {
          "min_quantity": 1,
          "price": "427.50"
        }
      ],
      "discount_applications": [
        {
          "type": "discount_flashsale",
          "subtype": "discount_flashsale",
          "discount_id": "65c00d9b-060c-4206-a2d8-f2971cacee43",
          "title": "促销",
          "value": "",
          "discount_type": "",
          "value_type": "",
          "allocation_method": "",
          "target_selection": "",
          "target_type": "",
          "total_discount_amount": "0",
          "discount_amount": "0",
          "is_free_gift": false,
          "icon": "//cdn.shoplazza.com/oss/operation/372e6ab307143855fbd0ad3d28568d1e.svg"
        }
      ],
      "saved_price": 22.5,
      "line_price": "427.50",
      "original_line_price": 450,
      "flashsale_tip": false,
      "discount_info": {
        "id": "298083",
        "variant_id": "f0d96c46-d1e8-4b94-a80f-f79d938dbd71",
        "product_id": "bfcb3b27-9a45-4499-a8a5-26808c168be9",
        "quantity": 1,
        "discount_id": "65c00d9b-060c-4206-a2d8-f2971cacee43",
        "limit_time": -1,
        "limit_buy": 0,
        "user_limit_buy": -1,
        "discount_sales_rate": "0",
        "discount_stock": 90,
        "ends_at": -1,
        "starts_at": 1682405275,
        "allow_oversold": "uncheck",
        "allocation_method": "none",
        "price": "427.5",
        "compare_at_price": "450",
        "discount_price": "427.5",
        "customary_saved_price": "22.5",
        "customary_off_ratio": "5",
        "discount_saved_price": "22.5",
        "discount_off_ratio": "5",
        "use_before_price": false,
        "before_price": "350",
        "title": "促销",
        "trunk_price": "0",
        "total_price": "0",
        "inventory_tracking": true,
        "inventory_policy": "deny",
        "inventory_quantity": 90
      },
      "item_id": "298083",
      "can_buy": true,
      "discount_total": "0.00",
      "final_line_price": "427.50",
      "final_price": "427.50"
    },
    {
      "id": "298049_1825cbb82902c53fdc4e12283829e832",
      "properties": "",
      "note": "",
      "variant_id": "4a3d825c-2fac-4f72-a68b-b8604b0935c4",
      "product_id": "b1ab6324-ae4f-4cca-907e-18af16839447",
      "quantity": "1",
      "discount_id": "65c00d9b-060c-4206-a2d8-f2971cacee43",
      "limit_time": -1,
      "limit_buy": 0,
      "user_limit_buy": -1,
      "discount_sales": 1,
      "discount_sales_rate": "1",
      "discount_stock": 87,
      "ends_at": -1,
      "starts_at": 1682405275,
      "allow_oversold": "uncheck",
      "allocation_method": "none",
      "price": "205.2",
      "compare_at_price": "228",
      "discount_price": "205.2",
      "customary_saved_price": "22.8",
      "customary_off_ratio": 10,
      "discount_saved_price": "22.8",
      "discount_off_ratio": "10",
      "use_before_price": false,
      "before_price": "188",
      "title": "促销",
      "trunk_price": "0",
      "total_price": "0",
      "inventory_tracking": true,
      "inventory_policy": "deny",
      "inventory_quantity": 87,
      "cart_id": "298049",
      "store_id": "7126",
      "user_id": "",
      "user_sign": "8f7be7ef-367f-473c-91b6-b32a75971450",
      "created_at": "2023-07-06 14:09:48",
      "updated_at": "2023-07-06 14:09:48",
      "custom": false,
      "parts_price": null,
      "variant_title": "pink",
      "product_title": "Sale Squared Sunglasses ",
      "product_handle": "sale-squared-sunglasses",
      "product_tags": [
        "Color_Lightcoral",
        "Location_Alabama",
        "Price_$200-$300"
      ],
      "published": true,
      "published_at": "2022-08-11T08:15:07Z",
      "product_url": "/products/sale-squared-sunglasses",
      "available": true,
      "available_quantity": 87,
      "cost_price": "0.00",
      "weight": "0.00",
      "weight_unit": "kg",
      "sku": "",
      "spu": "",
      "vendor": "Nero Theme Fashion",
      "vendor_url": "",
      "taxable": false,
      "requires_shipping": true,
      "barcode": "",
      "mixed_wholesale": false,
      "tax_code": "",
      "retail_price": "0.00",
      "product_type": "",
      "image": {
        "src": "//cdn.shoplazza.com/d8217e1e2e216cd8b71b1035bde035ec.jpeg",
        "path": "d8217e1e2e216cd8b71b1035bde035ec.jpeg",
        "width": 1280,
        "height": 1710,
        "alt": ""
      },
      "options": [
        {
          "name": "Color",
          "value": "pink"
        }
      ],
      "wholesale_price": [
        {
          "min_quantity": 1,
          "price": "205.20"
        }
      ],
      "discount_applications": [
        {
          "type": "discount_flashsale",
          "subtype": "discount_flashsale",
          "discount_id": "65c00d9b-060c-4206-a2d8-f2971cacee43",
          "title": "促销",
          "value": "",
          "discount_type": "",
          "value_type": "",
          "allocation_method": "",
          "target_selection": "",
          "target_type": "",
          "total_discount_amount": "0",
          "discount_amount": "0",
          "is_free_gift": false,
          "icon": "//cdn.shoplazza.com/oss/operation/372e6ab307143855fbd0ad3d28568d1e.svg"
        }
      ],
      "saved_price": 22.8,
      "line_price": "205.20",
      "original_line_price": 228,
      "flashsale_tip": false,
      "discount_info": {
        "id": "298049",
        "variant_id": "4a3d825c-2fac-4f72-a68b-b8604b0935c4",
        "product_id": "b1ab6324-ae4f-4cca-907e-18af16839447",
        "quantity": 1,
        "discount_id": "65c00d9b-060c-4206-a2d8-f2971cacee43",
        "limit_time": -1,
        "limit_buy": 0,
        "user_limit_buy": -1,
        "discount_sales": 1,
        "discount_sales_rate": "1",
        "discount_stock": 87,
        "ends_at": -1,
        "starts_at": 1682405275,
        "allow_oversold": "uncheck",
        "allocation_method": "none",
        "price": "205.2",
        "compare_at_price": "228",
        "discount_price": "205.2",
        "customary_saved_price": "22.8",
        "customary_off_ratio": "10",
        "discount_saved_price": "22.8",
        "discount_off_ratio": "10",
        "use_before_price": false,
        "before_price": "188",
        "title": "促销",
        "trunk_price": "0",
        "total_price": "0",
        "inventory_tracking": true,
        "inventory_policy": "deny",
        "inventory_quantity": 87
      },
      "item_id": "298049",
      "can_buy": true,
      "discount_total": "0.00",
      "final_line_price": "205.20",
      "final_price": "205.20"
    }
  ],
  "ineffectives": [],
  "invalid_msg": "",
  "currency": "USD",
  "note": "",
  "created_at": "2023-06-27T22:44:34Z",
  "updated_at": "2023-07-06T15:31:04Z",
  "item_count": 3,
  "original_line_price": "678.00",
  "original_total_price": "678.00",
  "line_price": "860.70",
  "total_price": "810.70",
  "total_discount": "50.00",
  "total_weight": 0,
  "discount_line_item_price": "50.00",
  "discount_applications": [
    {
      "type": "discount_rebate",
      "subtype": "discount_rebate",
      "title": "Rebate 30",
      "discount_amount": 30,
      "message": "",
      "discount_message": "",
      "discount_id": "2ceed624-1064-494e-ab21-95e43342e3d3",
      "value_type": "fixed_amount",
      "target_type": "line_item",
      "apply_method": "",
      "target_selection": "entitled",
      "discount_type": "discount_rebate",
      "entitled_product_list": [
        {
          "product_id": "21578cd8-9cd5-44ce-a399-efe803bb54f9",
          "variant_id": "e8c2dc60-428f-4f50-be2e-2d1766fb3a3b",
          "price": "228",
          "quantity": 1
        }
      ],
      "icon": "//cdn.shoplazza.com/oss/operation/52a3d7f0a272be85092170dc93eefe81.svg"
    },
    {
      "type": "discount_rebate",
      "subtype": "discount_rebate",
      "title": "满减",
      "discount_amount": 20,
      "message": "",
      "discount_message": "",
      "discount_id": "53b13206-6de7-48dd-baa5-a542f5be26f5",
      "value_type": "fixed_amount",
      "target_type": "line_item",
      "apply_method": "",
      "target_selection": "entitled",
      "discount_type": "discount_rebate",
      "entitled_product_list": [
        {
          "product_id": "b1ab6324-ae4f-4cca-907e-18af16839447",
          "variant_id": "4a3d825c-2fac-4f72-a68b-b8604b0935c4",
          "price": "205.2",
          "quantity": 1
        }
      ],
      "icon": "//cdn.shoplazza.com/oss/operation/52a3d7f0a272be85092170dc93eefe81.svg"
    }
  ]
}