Line Item Attribute
Line items are intended to describe purchasable items and are used in cart and order interactions.
Field Name | Field Type | Description |
---|---|---|
attributes | object | A dictionary of user-supplied values. |
catalogObjectType | string | Required. A type name representing the catalog object referenced in the line item. |
catalogObjectId | string | Required. A unique ID representing the catalog object referenced in the line item. |
currency | string | The currency for the price field. |
price | number | The price of the catalog object referenced in the line item. |
quantity | number | Required. The number of catalog objects in this line item. |