Newer Version Available
Composite Promotion Target Input
Input representation of the promotion target.
- JSON example
-
1[ 2 { 3 "adjustmentType": "PercentageDiscount", 4 "adjustmentValue": "10", 5 "currencyIsoCode": "USD", 6 "isMinItemCountRequired": false, 7 "restrictionQuantity": null, 8 "ruleCriteriaType": "ANY", 9 "targetReferences": [ 10 { 11 "id": "01tSB0000002p01YAA", 12 "itemReferenceType": "Product", 13 "name": "Alpine Energy Drink Chai Post 0.5L PET - 6 pack", 14 "operatorType": "EQUALS_TO", 15 "value": "EnergyDrink" 16 } 17 ] 18 } 19] - Properties
-
Name Type Description Required or Optional Available Version adjustmentType String Adjustment type for the promotion target. Possible values are: - FixedAmountOffLineItemTotal—Fixed amount off line item total.
- FixedAmountOffTransaction—Fixed amount off transaction.
- FixedAmountOffUnitPrice—Fixed amount off unit price.
- FixedPrice—Fixed price.
- PercentageDiscount—Percentage discount.
- TotalFixedPrice—Total fixed price.
Required 62.0 adjustmentValue String Discount value. Required 62.0 currencyIsoCode String Three-letter ISO 4217 currency code associated with the promotion target. Optional 62.0 isMinItemCountRequired Boolean Indicates whether discount apply only when a cart reaches the quantity limit (true) or not (false). Optional 62.0 restrictionQuantity String The maximum number of items that can receive the discount. Optional 62.0 targetReferenceType String Reference type of the promotion target. Possible values are: - Shipping
- Transaction
Required 62.0 targetReferences Item Reference Input[] List of products or categories associated with the promotion target. Required 62.0