Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 2.74 KB

CartItem.md

File metadata and controls

26 lines (21 loc) · 2.74 KB

# CartItem

Properties

Name Type Description Notes
name string Name of item. [optional]
sku string Stock keeping unit of item.
quantity int 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 int Number of returned items, calculated internally based on returns of this item. [optional]
remainingQuantity int Remaining quantity of the item, calculated internally based on returns of this item. [optional]
price float 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 \TalonOne\Client\Model\Product [optional]
weight float Weight of item in grams. [optional]
height float Height of item in mm. [optional]
width float Width of item in mm. [optional]
length float Length of item in mm. [optional]
position float 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. [optional]
additionalCosts map[string,\TalonOne\Client\Model\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 int The catalog item ID. [optional]

[Back to Model list] [Back to API list] [Back to README]