This endpoint is used to add or update data about an item added to cart in the current transaction.

Param Name

Required

Type

Notes

product_id

Yes

String

The unique SKU or ID which identifies the product

name

No

String

The name of the product

price

No

Integer

The unit price of the product in cents

description

No

String

A short description of the product

category

No

Array(String)

Categories which the product belongs to

item_qty

No

Integer

The quantity of the product in the cart

qty_price

No

Integer

The total price of the product (price X quantity) in cents

product_url

No

String

The URL of the product on your site

image_url

No

String

The URL of an image or thumbnail of the product

expiration_date

No

Date String

A string representing the date on which the product expires.

🚧

Important Note

The expiration_date field is stored as a proper datetime and is simply used for audience segmenting and display purposes.

📘

Any additional params will be treated as strings and added to the metadata field of the cart item.