Line Item Data

Line items are intended to describe purchasable items. They’re used in cart, catalog, and wish-list interactions.

Field NameTypeDescription
attributesobjectA dictionary of values that you supply.
catalogObjectIdstringRequired. A unique identifier representing the catalog object referenced in the line item.
catalogObjectTypestringRequired. A name representing the catalog object referenced in the line item.
currencystringThe currency of the price field.
pricenumberThe price of the catalog object referenced in the line item.
quantitynumberRequired. The number of catalog objects in this line item.

Here’s a basic structure of a line item used within an interaction.