Item Reference Input

Input representation of the item reference. Products and categories are supported for item reference by a promotion.
JSON example
1[
2   {
3      "id": "01tSB0000002p01YAA",
4      "itemReferenceType": "Product",
5      "name": "Alpine Energy Drink Chai Post 0.5L PET - 6 pack",
6      "operatorType": "EQUALS_TO",
7      "value": "EnergyDrink"
8   }
9]
Properties
Name Type Description Required or Optional Available Version
id String ID of the product or category. Required 62.0
itemReference​Type String Item reference type. Possible values are:
  • Category
  • Price
  • Product
  • StandardShippingRate
Required 62.0
name String Name of the product or category. Required 62.0
operatorType String Type of operator for the item reference. Possible values are:
  • EqualTo
  • GreaterThan
  • GreaterThanOrEqualTo
  • LessThan
  • LessThanOrEqualTo
  • NotEqualTo
Required 62.0
value String Value of the item referenced. For example, for Price in the itemReferenceType property, this would be a price value. Required 62.0