The following table describes the collection properties for the Promotions microservice.

S. No.AttributeDefault ValueDescription
1additionalPromotionFields[
{
"type": "select",
"label": "Frequency",
"values": [
{
"name": "Weekly",
"type": "integer",
"value": {
"displayName": "Week(s)",
"maxLength": 52
}
},
{
"name": "Monthly",
"type": "integer",
"value": {
"displayName": "Month(s)",
"maxLength": 24
}
},
{
"name": "Onetime",
"type": "boolean"
}
]
},
{
"type": "text",
"label": "PromotionIdentifier",
"info": "Enter a unique code for the promotion.Ex:HOLIDAY2500FF"
}
]
Indicates the values used to define the additional promotion fields.
2applicablelocalesen_USIndicates the list of locales applicable to the collection. It contains a list of comma separated locales. For the possible locales, refer to the Java standard locale format.
3blockExpireTime300000Indicates the time till which a promo code is blocked in milliseconds.
4customConditionAttributesThe input field will be defined in the Action and Conditions tab for a promotion.
5defaultlocaleen_USIndicates the default locale of the collection.
6enablePreviewfalseIndicates the promotions are enabled for preview or not. The possible value are true or false.
7executionOrder{\"item\":{\"actionsOrder\":[{\"name\":\"itemPrice\",\"value\":1},{\"name\":\"bogo\",\"value\":2},{\"name\":\"itemShipping\",\"value\":3}]},\"cart\":{\"actionsOrder\":[{\"name\":\"cartPrice\",\"value\":4},{\"name\":\"cartShipping\",\"value\":5}]}}Indicates the order of execution of various order types.
8isBasePriceDiscountfalseThis property is enabled or disabled only when multiple promotions are applied to a product.
Disabled - The discount amount is calculated from the updated unit price (that is, the price that comes after calculating the previous offer discounts).

Enabled - The discount amount is calculated from the product base price.

For example, for a product price of $100, Discount 1 is 10%, and Discount 2 is 20%.
When discount 1 is applied to the product price, the discounted amount is $90 which is the updated unit price. Now, instead of applying the discount 2 on the updated unit price, it is again applied to the product price of $100 which in turn reflects as $80.
9overAllRoundOffType0Indicates the round off type for promotion calculations.
10promoActionProcessorClasscom.skava.promotion.ecomm.rule.process.EcommPromotionActionProcessorIndicates the class for implementation of promotion action processor.
11promoRuleProcessorClasscom.skava.promotion.ecomm.rule.process.EcommPromotionRuleProcessorIndicates the class for implementation of promotion rule processor.
12promotionClass[
{
"displayName": "Material Bundle Discount",
"value": "Material Bundle Discount"
},
{
"displayName": "Sales Channel Discount",
"value": "Sales Channel Discount"
},
{
"displayName": "Advertise Discount",
"value": "Advertise Discount"
},
{
"displayName": "Order Drop Discount",
"value": "Order Drop Discount"
},
{
"displayName": "Program Discount",
"value": "Program Discount"
},
{
"displayName": "Customer Svc Discount",
"value": "Customer Svc Discount"
}
]
Indicates the values used to classify the promotion
13promotionPropertynullIndicates the additional properties to be defined based on the business need. For example, couponIdentifier.
14ruleengine.settings{
"groupRuleTypes": [
{
"displayName": "Default",
"name": "default",
"value": 1,
"stopConditionClasses": "com.skava.promotion.ecomm.model.PromotionSku"
}
],
"ruleTypes": [
{
"displayName": "Item Price Rules",
"description": "Promotion applied on Item Price.",
"name": "itemPrice",
"value": 1,
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionCoupon,com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionAccounts",
"stopConditionClasses": "com.skava.promotion.ecomm.model.PromotionSku",
"actionTypes": [
{
"displayName": "Fixed Offer",
"description": "Item provided at Fixed Amount",
"value": 1,
"actions": [
{
"name": "Product Price Offer",
"description": "Promotion applied on Product Price.",
"className": "com.skava.promotion.ecomm.action.ProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "offerValue",
"displayName": "@ Amount"
},
{
"name": "offer on other values",
"displayName": "Offer on other values",
"type": "multiselect",
"options": [
{
"name": "PV",
"displayName": "PV",
"label": "FixedOffer on PV"
},
{
"name": "CV",
"displayName": "CV",
"label": "FixedOffer on CV"
}
]
}
]
},
{
"name": "Product Personalization",
"description": "Promotion applied on Product Personalization Price.",
"className": "com.skava.promotion.ecomm.action.ProductPersonalizationOffer",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "personalizationType",
"displayName": "Personalization Type"
},
{
"name": "offerValue",
"displayName": "@ Amount"
}
]
},
{
"name": "Bundle Product Offer",
"description": "Promotion applied on bundle product price.",
"className": "com.skava.promotion.ecomm.action.BundleProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "offerValue",
"displayName": "@ Amount"
},
{
"name": "offer on other values",
"displayName": "Offer on other values",
"type": "multiselect",
"options": [
{
"name": "PV",
"displayName": "PV",
"label": "FixedOffer on PV"
},
{
"name": "CV",
"displayName": "CV",
"label": "FixedOffer on CV"
}
]
}
]
}
]
},
{
"displayName": "Amount Offer",
"description": "Item provided at Discounted Amount",
"value": 2,
"actions": [
{
"name": "Product Price Offer",
"description": "Promotion applied on Product Price.",
"className": "com.skava.promotion.ecomm.action.ProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "offerValue",
"displayName": "Offer Amount"
},
{
"name": "offer on other values",
"displayName": "Offer on other values",
"type": "multiselect",
"options": [
{
"name": "PV",
"displayName": "PV",
"label": "AmountOffer on PV"
},
{
"name": "CV",
"displayName": "CV",
"label": "AmountOffer on CV"
}
]
}
]
},
{
"name": "Product Personalization",
"description": "Promotion applied on Product Personalization Price.",
"className": "com.skava.promotion.ecomm.action.ProductPersonalizationOffer",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "personalizationType",
"displayName": "Personalization Type"
},
{
"name": "offerValue",
"displayName": "Offer Amount"
}
]
},
{
"name": "Bundle Product Offer",
"description": "Promotion applied on bundle product price.",
"className": "com.skava.promotion.ecomm.action.BundleProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "offerValue",
"displayName": "Offer Amount"
},
{
"name": "offer on other values",
"displayName": "Offer on other values",
"type": "multiselect",
"options": [
{
"name": "PV",
"displayName": "PV",
"label": "AmountOffer on PV"
},
{
"name": "CV",
"displayName": "CV",
"label": "AmountOffer on CV"
}
]
}
]
},
{
"name": "Summed Up Product Price Offer",
"className": "com.skava.promotion.ecomm.action.SummedUpProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"id": "id_skSummedUpAction",
"className": "clsCustomActionQB",
"name": "SummedUpAction",
"type": "querybuilder",
"displayName": "Summed Up Value",
"allow_empty": false,
"allow_groups": false,
"value": {
"readonly": true,
"rules": [
{
"flags": {
"filter_readonly": true,
"no_delete": true,
"no_add_rule": true
},
"id": "summedUpValue",
"field": "summedUpValue",
"type": "integer",
"input": "text",
"operator": "equal",
"value": ""
}
]
},
"filters": [
{
"id": "summedUpValue",
"label": "Summed Up Value",
"type": "integer",
"operators": [
"equal",
"not_equal",
"less",
"less_or_equal",
"greater",
"greater_or_equal",
"between",
"not_between"
]
}
],
"default_filter": "summedUpValue"
},
{
"name": "offerValue",
"displayName": "Offer Amount"
}
]
}
]
},
{
"displayName": "% Offer",
"description": "Item provided at Percentage Discounted Amount",
"value": 3,
"actions": [
{
"name": "Product Price Offer",
"description": "Promotion applied on Product Price.",
"className": "com.skava.promotion.ecomm.action.ProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "offerValue",
"displayName": "% Offer"
},
{
"name": "minimumDiscountAmount",
"displayName": "Minimum Discount Amount(Optional)"
},
{
"name": "maximumDiscountAmount",
"displayName": "Maximum Discount Amount(Optional)"
},
{
"name": "offer on other values",
"displayName": "Offer on other values",
"type": "multiselect",
"options": [
{
"name": "PV",
"displayName": "PV",
"label": "% Offer on PV"
},
{
"name": "CV",
"displayName": "CV",
"label": "% Offer on CV"
}
]
}
]
},
{
"name": "Product Personalization",
"description": "Promotion applied on Product Personalization Price.",
"className": "com.skava.promotion.ecomm.action.ProductPersonalizationOffer",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "personalizationType",
"displayName": "Personalization Type"
},
{
"name": "offerValue",
"displayName": "% Offer"
},
{
"name": "minimumDiscountAmount",
"displayName": "Minimum Discount Amount(Optional)"
},
{
"name": "maximumDiscountAmount",
"displayName": "Maximum Discount Amount(Optional)"
}
]
},
{
"name": "Bundle Product Offer",
"description": "Promotion applied on bundle product price.",
"className": "com.skava.promotion.ecomm.action.BundleProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "offerValue",
"displayName": "% Offer"
},
{
"name": "minimumDiscountAmount",
"displayName": "Minimum Discount Amount(Optional)"
},
{
"name": "maximumDiscountAmount",
"displayName": "Maximum Discount Amount(Optional)"
},
{
"name": "offer on other values",
"displayName": "Offer on other values",
"type": "multiselect",
"options": [
{
"name": "PV",
"displayName": "PV",
"label": "% Offer on PV"
},
{
"name": "CV",
"displayName": "CV",
"label": "% Offer on CV"
}
]
}
]
},
{
"name": "Summed Up Product Price Offer",
"className": "com.skava.promotion.ecomm.action.SummedUpProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"id": "id_skSummedUpAction",
"className": "clsCustomActionQB",
"name": "SummedUpAction",
"type": "querybuilder",
"displayName": "Summed Up Value",
"allow_empty": false,
"allow_groups": false,
"value": {
"readonly": true,
"rules": [
{
"flags": {
"filter_readonly": true,
"no_delete": true,
"no_add_rule": true
},
"id": "summedUpValue",
"field": "summedUpValue",
"type": "integer",
"input": "text",
"operator": "equal",
"value": ""
}
]
},
"filters": [
{
"id": "summedUpValue",
"label": "Summed Up Value",
"type": "integer",
"operators": [
"equal",
"not_equal",
"less",
"less_or_equal",
"greater",
"greater_or_equal",
"between",
"not_between"
]
}
],
"default_filter": "summedUpValue"
},
{
"name": "offerValue",
"displayName": "% Amount"
}
]
}
]
},
{
"displayName": "Formula",
"description": "Item provided at Formula Based Discounted Amount",
"value": 4,
"actions": [
{
"name": "Product Price Offer",
"description": "Promotion applied on Product Price.",
"className": "com.skava.promotion.ecomm.action.ProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"formulaClasses": "com.skava.promotion.ecomm.model.PromotionSku",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "formula",
"displayName": "Formula"
}
]
},
{
"name": "Product Personalization",
"description": "Promotion applied on Product Personalization Price.",
"className": "com.skava.promotion.ecomm.action.ProductPersonalizationOffer",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"formulaClasses": "com.skava.promotion.ecomm.model.PromotionSku",
"params": [
{
"name": "personalizationType",
"displayName": "Personalization Type"
},
{
"name": "formula",
"displayName": "Formula"
}
]
}
]
}
]
},
{
"displayName": "BOGO Rules",
"description": "Promotion applied on Get Item Price on a BOGO.",
"name": "bogo",
"value": 2,
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionCoupon,com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionAccounts",
"stopConditionClasses": "com.skava.promotion.ecomm.model.PromotionSku",
"actionTypes": [
{
"displayName": "Fixed Offer",
"description": "Item provided at Fixed Amount",
"value": 1,
"actions": [
{
"name": "Buy X Get Y",
"description": "BOGO Promotions. Promotion applied on Get Item Price.",
"className": "com.skava.promotion.ecomm.action.BuyXGetY",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "buyItemCondition",
"displayName": "Buy Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle"
},
{
"name": "buyItemQty",
"displayName": "Buy Item Quantity"
},
{
"name": "getItemCondition",
"displayName": "Get Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle"
},
{
"name": "getItemQty",
"displayName": "Get Item Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "offerValue",
"displayName": "@ Amount"
}
]
},
{
"name": "GWP",
"description": "Gift With Purchase.",
"className": "com.skava.promotion.ecomm.action.GiftWithPurchase",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "buyItemCondition",
"displayName": "Buy Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku"
},
{
"name": "buyItemQty",
"displayName": "Buy Item Quantity"
},
{
"name": "giftProductId",
"displayName": "Gift Product Id"
},
{
"name": "giftSkuId",
"displayName": "Gift Sku Id"
},
{
"name": "maximumGiftQuantity",
"displayName": "Maximum Gift Quantity",
"required": false
}
]
},
{
"name": "Bundle GWP",
"description": "Gift With Purchase for Bundle",
"className": "com.skava.promotion.ecomm.action.BundleGiftWithPurchase",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "buyItemCondition",
"displayName": "Buy Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionBundle"
},
{
"name": "buyItemQty",
"displayName": "Buy Item Quantity"
},
{
"name": "giftProductId",
"displayName": "Gift Product Id"
},
{
"name": "giftSkuId",
"displayName": "Gift Sku Id"
},
{
"name": "maximumGiftQuantity",
"displayName": "Maximum Gift Quantity",
"required": false
}
]
},
{
"name": "Buy X and Y",
"description": "BOGO Promotions. Buy X and Y together and get Offer on X and Y.",
"className": "com.skava.promotion.ecomm.action.BuyXandY",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "xItemBuyCondition",
"displayName": "Buy X Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle"
},
{
"name": "xItemBuyQty",
"displayName": "Buy X Item Quantity"
},
{
"name": "yItemBuyCondition",
"displayName": "Buy Y Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle"
},
{
"name": "yItemBuyQty",
"displayName": "Buy Y Item Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "offerValue",
"displayName": "@ Amount"
}
]
}
]
},
{
"displayName": "Amount Offer",
"description": "Item provided at Discounted Amount",
"value": 2,
"actions": [
{
"name": "Buy X Get Y",
"description": "BOGO Promotions. Promotion applied on Get Item Price.",
"className": "com.skava.promotion.ecomm.action.BuyXGetY",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "buyItemCondition",
"displayName": "Buy Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle"
},
{
"name": "buyItemQty",
"displayName": "Buy Item Quantity"
},
{
"name": "getItemCondition",
"displayName": "Get Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle"
},
{
"name": "getItemQty",
"displayName": "Get Item Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "offerValue",
"displayName": "Offer Amount"
}
]
},
{
"name": "GWP",
"description": "Gift With Purchase.",
"className": "com.skava.promotion.ecomm.action.GiftWithPurchase",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "buyItemCondition",
"displayName": "Buy Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku"
},
{
"name": "buyItemQty",
"displayName": "Buy Item Quantity"
},
{
"name": "giftProductId",
"displayName": "Gift Product Id"
},
{
"name": "giftSkuId",
"displayName": "Gift Sku Id"
},
{
"name": "maximumGiftQuantity",
"displayName": "Maximum Gift Quantity",
"required": false
}
]
},
{
"name": "Bundle GWP",
"description": "Gift With Purchase for Bundle",
"className": "com.skava.promotion.ecomm.action.BundleGiftWithPurchase",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "buyItemCondition",
"displayName": "Buy Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionBundle"
},
{
"name": "buyItemQty",
"displayName": "Buy Item Quantity"
},
{
"name": "giftProductId",
"displayName": "Gift Product Id"
},
{
"name": "giftSkuId",
"displayName": "Gift Sku Id"
},
{
"name": "maximumGiftQuantity",
"displayName": "Maximum Gift Quantity",
"required": false
}
]
},
{
"name": "Buy X and Y",
"description": "BOGO Promotions. Buy X and Y together and get Offer on X and Y.",
"className": "com.skava.promotion.ecomm.action.BuyXandY",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "xItemBuyCondition",
"displayName": "Buy X Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle"
},
{
"name": "xItemBuyQty",
"displayName": "Buy X Item Quantity"
},
{
"name": "yItemBuyCondition",
"displayName": "Buy Y Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle"
},
{
"name": "yItemBuyQty",
"displayName": "Buy Y Item Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "offerValue",
"displayName": "Offer Amount"
}
]
}
]
},
{
"displayName": "% Offer",
"description": "Item provided at Percentage Discounted Amount",
"value": 3,
"actions": [
{
"name": "Buy X Get Y",
"description": "BOGO Promotions. Promotion applied on Get Item Price.",
"className": "com.skava.promotion.ecomm.action.BuyXGetY",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "buyItemCondition",
"displayName": "Buy Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle"
},
{
"name": "buyItemQty",
"displayName": "Buy Item Quantity"
},
{
"name": "getItemCondition",
"displayName": "Get Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle"
},
{
"name": "getItemQty",
"displayName": "Get Item Quantity"
},
{
"name": "offerValue",
"displayName": "% Offer"
},
{
"name": "minimumDiscountAmount",
"displayName": "Minimum Discount Amount(Optional)"
},
{
"name": "maximumDiscountAmount",
"displayName": "Maximum Discount Amount(Optional)"
}
]
},
{
"name": "GWP",
"description": "Gift With Purchase.",
"className": "com.skava.promotion.ecomm.action.GiftWithPurchase",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "buyItemCondition",
"displayName": "Buy Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku"
},
{
"name": "buyItemQty",
"displayName": "Buy Item Quantity"
},
{
"name": "giftProductId",
"displayName": "Gift Product Id"
},
{
"name": "giftSkuId",
"displayName": "Gift Sku Id"
},
{
"name": "maximumGiftQuantity",
"displayName": "Maximum Gift Quantity",
"required": false
}
]
},
{
"name": "Bundle GWP",
"description": "Gift With Purchase for Bundle",
"className": "com.skava.promotion.ecomm.action.BundleGiftWithPurchase",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "buyItemCondition",
"displayName": "Buy Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionBundle"
},
{
"name": "buyItemQty",
"displayName": "Buy Item Quantity"
},
{
"name": "giftProductId",
"displayName": "Gift Product Id"
},
{
"name": "giftSkuId",
"displayName": "Gift Sku Id"
},
{
"name": "maximumGiftQuantity",
"displayName": "Maximum Gift Quantity",
"required": false
}
]
},
{
"name": "Buy X and Y",
"description": "BOGO Promotions. Buy X and Y together and get Offer on X and Y.",
"className": "com.skava.promotion.ecomm.action.BuyXandY",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "xItemBuyCondition",
"displayName": "Buy X Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle"
},
{
"name": "xItemBuyQty",
"displayName": "Buy X Item Quantity"
},
{
"name": "yItemBuyCondition",
"displayName": "Buy Y Item Condition",
"type": "condition",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle"
},
{
"name": "yItemBuyQty",
"displayName": "Buy Y Item Quantity"
},
{
"name": "offerValue",
"displayName": "% Offer"
},
{
"name": "minimumDiscountAmount",
"displayName": "Minimum Discount Amount(Optional)"
},
{
"name": "maximumDiscountAmount",
"displayName": "Maximum Discount Amount(Optional)"
}
]
}
]
}
]
},
{
"displayName": "Item Shipping Rules",
"description": "Promotion applied on Item Shipping Price.",
"name": "itemShipping",
"value": 3,
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionCoupon,com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionAccounts",
"stopConditionClasses": "com.skava.promotion.ecomm.model.PromotionSku",
"actionTypes": [
{
"displayName": "Fixed Offer",
"description": "Item provided at Fixed Shipping Amount",
"value": 1,
"actions": [
{
"name": "Product Shipping Offer",
"description": "Promotion applied on the product shipping price.",
"className": "com.skava.promotion.ecomm.action.ProductShippingOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "offerValue",
"displayName": "@ Amount"
}
]
},
{
"name": "Bundle Product Shipping Offer",
"description": "Promotion applied on bundle product shipping price.",
"className": "com.skava.promotion.ecomm.action.BundleProductShippingOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "offerValue",
"displayName": "@ Amount"
}
]
}
]
},
{
"displayName": "Amount Offer",
"description": "Item provided at Discounted Shipping Amount",
"value": 2,
"actions": [
{
"name": "Product Shipping Offer",
"description": "Promotion applied on the product shipping price.",
"className": "com.skava.promotion.ecomm.action.ProductShippingOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "offerValue",
"displayName": "Offer Amount"
}
]
},
{
"name": "Bundle Product Shipping Offer",
"description": "Promotion applied on bundle product shipping price.",
"className": "com.skava.promotion.ecomm.action.BundleProductShippingOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "offerValue",
"displayName": "Offer Amount"
}
]
}
]
},
{
"displayName": "% Offer",
"description": "Item provided at Percentage Discounted Shipping Amount",
"value": 3,
"actions": [
{
"name": "Product Shipping Offer",
"description": "Promotion applied on the product shipping price.",
"className": "com.skava.promotion.ecomm.action.ProductShippingOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "offerValue",
"displayName": "% Offer"
},
{
"name": "minimumDiscountAmount",
"displayName": "Minimum Discount Amount(Optional)"
},
{
"name": "maximumDiscountAmount",
"displayName": "Maximum Discount Amount(Optional)"
}
]
},
{
"name": "Bundle Product Shipping Offer",
"description": "Promotion applied on bundle product shipping price.",
"className": "com.skava.promotion.ecomm.action.BundleProductShippingOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "offerValue",
"displayName": "% Amount"
}
]
}
]
},
{
"displayName": "Formula",
"description": "Item provided at Formula Based Discounted Shipping Amount",
"value": 4,
"actions": [
{
"name": "Product Shipping Offer",
"description": "Promotion applied on the product shipping price.",
"className": "com.skava.promotion.ecomm.action.ProductShippingOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"formulaClasses": "com.skava.promotion.ecomm.model.PromotionSku",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "formula",
"displayName": "Formula"
}
]
}
]
}
]
},
{
"displayName": "Cart Price Rules",
"description": "Promotion applied on Cart Price.",
"name": "cartPrice",
"value": 4,
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionCoupon,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionAccounts",
"stopConditionClasses": "com.skava.promotion.ecomm.model.PromotionCart",
"actionTypes": [
{
"displayName": "Fixed Offer",
"description": "Cart provided at Fixed Amount",
"value": 1,
"actions": [
{
"name": "Cart Price Offer",
"description": "Promotion applied on the Cart Price.",
"className": "com.skava.promotion.ecomm.action.CartPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "offerValue",
"displayName": "@ Amount"
},
{
"name": "offer on other values",
"displayName": "Offer on other values",
"type": "multiselect",
"options": [
{
"name": "PV",
"displayName": "PV",
"label": "FixedOffer on PV"
},
{
"name": "CV",
"displayName": "CV",
"label": "FixedOffer on CV"
}
]
},
{
"name": "enableForEligibleProducts",
"displayName": "Enable For Eligible Products",
"type": "checkbox",
"value": false
}
]
},
{
"name": "CartGWP",
"description": "PromotionappliedontheCartGiftWithPurchase.",
"className": "com.skava.promotion.ecomm.action.CartGiftWithPurchase",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "giftProductId",
"displayName": "GiftProductId"
},
{
"name": "giftSkuId",
"displayName": "GiftSkuId"
},
{
"name": "giftQuantity",
"displayName": "GiftQuantity"
},
{
"name": "enableForEligibleProducts",
"displayName": "Enable For Eligible Products",
"type": "checkbox",
"value": false
}
]
}
]
},
{
"displayName": "Amount Offer",
"description": "Cart provided at Discounted Amount",
"value": 2,
"actions": [
{
"name": "Cart Price Offer",
"description": "Promotion applied on the Cart Price.",
"className": "com.skava.promotion.ecomm.action.CartPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "offerValue",
"displayName": "Offer Amount"
},
{
"name": "offer on other values",
"displayName": "Offer on other values",
"type": "multiselect",
"options": [
{
"name": "PV",
"displayName": "PV",
"label": "AmountOffer on PV"
},
{
"name": "CV",
"displayName": "CV",
"label": "AmountOffer on CV"
}
]
},
{
"name": "enableForEligibleProducts",
"displayName": "Enable For Eligible Products",
"type": "checkbox",
"value": false
}
]
},
{
"name": "Trade In Offer",
"description": "Promotion applied on the Cart Trade In Value.",
"className": "com.skava.promotion.ecomm.action.TradeInOffer",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "offerValue",
"displayName": "Offer Amount"
},
{
"name": "enableForEligibleProducts",
"displayName": "Enable For Eligible Products",
"type": "checkbox",
"value": false
}
]
}
]
},
{
"displayName": "% Offer",
"description": "Cart provided at Percentage Discounted Amount",
"value": 3,
"actions": [
{
"name": "Cart Price Offer",
"description": "Promotion applied on the Cart Price.",
"className": "com.skava.promotion.ecomm.action.CartPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "offerValue",
"displayName": "% Offer"
},
{
"name": "minimumDiscountAmount",
"displayName": "Minimum Discount Amount(Optional)"
},
{
"name": "maximumDiscountAmount",
"displayName": "Maximum Discount Amount(Optional)"
},
{
"name": "offer on other values",
"displayName": "Offer on other values",
"type": "multiselect",
"options": [
{
"name": "PV",
"displayName": "PV",
"label": "% Offer on PV"
},
{
"name": "CV",
"displayName": "CV",
"label": "% Offer on CV"
}
]
},
{
"name": "enableForEligibleProducts",
"displayName": "Enable For Eligible Products",
"type": "checkbox",
"value": false
}
]
},
{
"name": "Trade In Offer",
"description": "Promotion applied on the Cart Trade In Value.",
"className": "com.skava.promotion.ecomm.action.TradeInOffer",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "offerValue",
"displayName": "% Offer"
},
{
"name": "enableForEligibleProducts",
"displayName": "Enable For Eligible Products",
"type": "checkbox",
"value": false
}
]
},
{
"name": "CartGWP",
"description": "PromotionappliedontheCartGiftWithPurchase.",
"className": "com.skava.promotion.ecomm.action.CartGiftWithPurchase",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "giftProductId",
"displayName": "GiftProductId"
},
{
"name": "giftSkuId",
"displayName": "GiftSkuId"
},
{
"name": "giftQuantity",
"displayName": "GiftQuantity"
},
{
"name": "enableForEligibleProducts",
"displayName": "Enable For Eligible Products",
"type": "checkbox",
"value": false
}
]
}
]
},
{
"displayName": "Formula",
"description": "Cart provided at Formula Based Discounted Amount",
"value": 4,
"actions": [
{
"name": "Cart Price Offer",
"description": "Promotion applied on the Cart Price.",
"className": "com.skava.promotion.ecomm.action.CartPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"formulaClasses": "com.skava.promotion.ecomm.model.PromotionCart",
"params": [
{
"name": "formula",
"displayName": "Formula"
},
{
"name": "enableForEligibleProducts",
"displayName": "Enable For Eligible Products",
"type": "checkbox",
"value": false
}
]
}
]
}
]
},
{
"displayName": "Cart Shipping Rules",
"description": "Promotion applied on Cart Shipping Price.",
"name": "cartShipping",
"value": 5,
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionCoupon,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionAccounts",
"stopConditionClasses": "com.skava.promotion.ecomm.model.PromotionCart",
"actionTypes": [
{
"displayName": "Fixed Offer",
"description": "Cart provided at Fixed Shipping Amount",
"value": 1,
"actions": [
{
"name": "Cart Shipping Offer",
"description": "Promotion applied on the Cart Shipping Price.",
"className": "com.skava.promotion.ecomm.action.CartShippingOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "offerValue",
"displayName": "@ Amount"
}
]
}
]
},
{
"displayName": "Amount Offer",
"description": "Cart provided at Discounted Shipping Amount",
"value": 2,
"actions": [
{
"name": "Cart Shipping Offer",
"description": "Promotion applied on the Cart Shipping Price.",
"className": "com.skava.promotion.ecomm.action.CartShippingOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "offerValue",
"displayName": "Offer Amount"
}
]
}
]
},
{
"displayName": "% Offer",
"description": "Cart provided at Percentage Discounted Shipping Amount",
"value": 3,
"actions": [
{
"name": "Cart Shipping Offer",
"description": "Promotion applied on the Cart Shipping Price.",
"className": "com.skava.promotion.ecomm.action.CartShippingOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "offerValue",
"displayName": "% Offer"
},
{
"name": "minimumDiscountAmount",
"displayName": "Minimum Discount Amount(Optional)"
},
{
"name": "maximumDiscountAmount",
"displayName": "Maximum Discount Amount(Optional)"
}
]
}
]
},
{
"displayName": "Formula",
"description": "Cart provided at Formula Based Discounted Shipping Amount",
"value": 4,
"actions": [
{
"name": "Cart Shipping Offer",
"description": "Promotion applied on the Cart Shipping Price.",
"className": "com.skava.promotion.ecomm.action.CartShippingOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"formulaClasses": "com.skava.promotion.ecomm.model.PromotionCart",
"params": [
{
"name": "formula",
"displayName": "Formula"
}
]
}
]
}
]
}
],
"actionTypes": [
{
"displayName": "Fixed Offer",
"value": 1
},
{
"displayName": "Amount Offer",
"value": 2
},
{
"displayName": "% Offer",
"value": 3
},
{
"displayName": "Formula",
"value": 4
}
]
}
Indicates the configuration of rule engine settings.
15ruleTypeProcessListenernullIndicates the class name to implement the rule type processor listener. The promotion processor delegates the messages on every rule type executions to the rule type processor listener.
16sendOfferedItemsOnlyfalseRestricts the product details in the offer response when promotion is not applicable. The possible values are as follows:
  • true - restricts the product details in the offer response when promotion is not applicable.

  • false - does not restricts the product details in the offer response when promotion is not applicable.
17timeZoneGMTIndicates the timezone of the collection. For example, EST, IST, PST, etc.
18defaultprojectaccessFALSESkips the project approval workflow when this property is set to true (that is, when the property is enabled). You can:
  • enable the toggle to skip the project approval workflow. The catalog details are updated directly without the project approval workflow process.
  • disable the toggle to enable the project approval workflow. The catalog details are updated after it is approved by the approver via the project approval workflow process. By default, this property is disabled.
Note: A user must have the privilege catalog/defaultproject/promotions to skip the project approval workflow.
19disable_project_workflowtrueIndicates whether the project approval flow is disabled completely or used when needed. This property is used only when the collection property defaultprojectaccess is set to true.
The value:
  • true indicates the project approval flow is skipped completely.
  • false indicates the project approval flow is used when needed.
20adminConditionFieldSettings[
{
"className": "com.skava.promotion.ecomm.model.PromotionSku",
"fields": [
{
"name": "id",
"value": "selector/catalog/sku/filter"
}
]
}
]
This property is used for defining additional configuration information for any conditional fields.
21enablebExpireTimeFALSEThis property indicates the boolean value for extending the block expiry time.
If this property flag is set to:
  • true - considers the value provided in the blockExpireTime” even when the value is greater than “3600000” (1hour).
  • false - will not extend the block expiry time.The default value is false.
22promotionDetailsProperty[
{
"name": "promotionClass",
"displayName": "Promotion Class",
"isMandatory": "false",
"options": [
{
"displayName": "Material Bundle Discount",
"value": "Material Bundle Discount"
},
{
"displayName": "Sales Channel Discount",
"value": "Sales Channel Discount"
},
{
"displayName": "Advertise Discount",
"value": "Advertise Discount"
},
{
"displayName": "Order Drop Discount",
"value": "Order Drop Discount"
},
{
"displayName": "Program Discount",
"value": "Program Discount"
},
{
"displayName": "Customer Svc Discount",
"value": "Customer Svc Discount"
}
]
},
{
"name": "promotionGroup",
"displayName": "Promotion Group",
"isMandatory": "false",
"options": [
{
"displayName": "Personal Offer",
"value": "Personal Offer"
},
{
"displayName": "Group Offer",
"value": "Group Offer"
}
]
}
]
Indicates the values used to classify the promotion like Material Bundle Discount, Sales Channel Discount, Advertise Discount, Order Drop Discount, Program Discount, and Customer Svc Discount.




Revision History
2024-03-05 | SD – Updated collection properties.
2022-12-20 | SW – Updated collection properties for 8.13 release.
2021-12-24 | AN – Updated collection properties for 8.11 release.
2019-07-09 | JP – Updated collection properties for the July 2019 release.
2019-04-17 | MA – Content update for April 2019 release.
2019-01-23 | PLK – Page added and content uploaded.