Skip to content

CartItemProduct

Field Type Required Description
id string yes The id of the product. It`s NOT a database id but the item_number, unique within the scope of a specific shop.
name string yes Name of the product.
addtionalInfo array[object] Some additional info for the product to be shown on the cart page. E.g. basePrice, SKU, weight, …
featuredImageUrl string yes The image of the product.
properties array[CartItemProductProperty] Selected properties of the current cart item.
price CartItemProductPrice yes
appliedDiscounts array[AppliedDiscount] All discouts applied to the current line item.
{
"id": "10080466570",
"name": "Awesome T-Shirt",
"addtionalInfo": [
{
"label": "Manufacturer",
"value": "Lacoste"
}
],
"featuredImageUrl": "https://myshop.example/images/product_xyz_featured.png",
"properties": [
{
"label": "Color",
"value": "Red"
}
],
"price": {
"unit": 10,
"default": 50,
"special": 40
},
"appliedDiscounts": [
{
"code": "20OFF",
"description": "Reduces the cost of all products by 20%.",
"label": "20% off of all products.",
"savedPrice": {}
}
]
}