Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 2.78 KB

CartItem.md

File metadata and controls

27 lines (20 loc) · 2.78 KB

CartItem

Properties

Name Type Description Notes
name String Name of item. [optional]
sku String Stock keeping unit of item.
quantity Integer Number of units of this item. Due to cart item flattening, if you provide a quantity greater than 1, the item will be split in as many items as the provided quantity. This will impact the number of per-item effects triggered from your campaigns.
returnedQuantity Integer Number of returned items, calculated internally based on returns of this item. [optional]
remainingQuantity Integer Remaining quantity of the item, calculated internally based on returns of this item. [optional]
price BigDecimal Price of the item in the currency defined by your Application. This field is required if this item is not part of a catalog. If it is part of a catalog, setting a price here overrides the price from the catalog. [optional]
category String Type, group or model of the item. [optional]
product Product [optional]
weight BigDecimal Weight of item in grams. [optional]
height BigDecimal Height of item in mm. [optional]
width BigDecimal Width of item in mm. [optional]
length BigDecimal Length of item in mm. [optional]
position BigDecimal Position of the Cart Item in the Cart (calculated internally). [optional]
attributes Object Use this property to set a value for the attributes of your choice. Attributes represent any information to attach to this cart item. Custom cart item attributes must be created in the Campaign Manager before you set them with this property. Note: Any previously defined attributes that you do not include in the array will be removed. [optional]
additionalCosts Map<String, AdditionalCost> Use this property to set a value for the additional costs of this item, such as a shipping cost. They must be created in the Campaign Manager before you set them with this property. See Managing additional costs. [optional]
catalogItemID Integer The catalog item ID. [optional]