Brand Promotion Code Samples
Spend $X in brand X and get free shipping to X shipping zones
Example request
{
"name": "Order $100 of this common good brand and get free shipping",
"redemption_type": "AUTOMATIC",
"rules": [
{
"action": {
"shipping": {
"free_shipping": true,
"zone_ids": [
1,
3
]
}
},
"apply_once": true,
"stop": false,
"condition": {
"cart": {
"items": {
"brands": [
37
]
},
"minimum_quantity": 1,
"minimum_spend": 100
}
}
}
],
"notifications": [
{
"type": "UPSELL",
"content": "Get Free Shipping for Common Good Upsell",
"locations": [
"CART_PAGE"
]
},
{
"type": "ELIGIBLE",
"content": "On the Cart Page, Eligible",
"locations": [
"CART_PAGE"
]
},
{
"type": "APPLIED",
"content": "Applied Cart Page",
"locations": [
"CART_PAGE"
]
}
],
"stop": false,
"status": "ENABLED"
}
Apply a $ or % discount to each item in one or more brands (AND, NOT operators)
Example request
{
"name": "Apply a $ or % discount to each item in one or more brands",
"redemption_type": "AUTOMATIC",
"rules": [
{
"action": {
"cart_items": {
"discount": {
"percentage_amount": "15"
},
"strategy": "LEAST_EXPENSIVE",
"as_total": false,
"include_items_considered_by_condition": false,
"items": {
"and": [
{
"brands": [
38,
37,
36,
35
]
},
{
"not": {
"categories": [
19
]
}
}
]
}
}
},
"apply_once": true,
"stop": false
}
],
"notifications": [
{
"type": "UPSELL",
"content": "Get 15% off in Common Good, Chemex, Barr-Co and Kinfolk.\r\n<div> </div>",
"locations": [
"HOME_PAGE",
"PRODUCT_PAGE",
"CART_PAGE"
]
},
{
"type": "ELIGIBLE",
"content": "You are eligible for 15% off!\r\n<div> </div>",
"locations": [
"CART_PAGE"
]
},
{
"type": "APPLIED",
"content": "Congratulations you have earned 15% off.",
"locations": [
"CART_PAGE"
]
}
],
"stop": false,
"status": "ENABLED"
}
Spend X amount in brand Y, get X% off in brand Y
Example request
{
"name": "Spend X amount in brand Y and get X% off in brand Y",
"redemption_type": "AUTOMATIC",
"rules": [
{
"action": {
"cart_items": {
"discount": {
"percentage_amount": "10"
},
"strategy": "LEAST_EXPENSIVE",
"as_total": true,
"include_items_considered_by_condition": true,
"items": {
"brands": [
36
]
}
}
},
"apply_once": true,
"stop": false,
"condition": {
"cart": {
"items": {
"brands": [
36
]
},
"minimum_spend": "200",
"minimum_quantity": 1
}
}
}
],
"notifications": [
{
"type": "UPSELL",
"content": "<div> </div>",
"locations": [
"CART_PAGE"
]
},
{
"type": "ELIGIBLE",
"content": "<div> </div>",
"locations": [
"CART_PAGE"
]
},
{
"type": "APPLIED",
"content": "<div> </div>",
"locations": [
"CART_PAGE"
]
}
],
"stop": false,
"status": "ENABLED"
}
Buy two items in a brand and get the cheapest one free
Example request
{
"name": "Buy two items in brand and get the cheapest one free",
"redemption_type": "AUTOMATIC",
"rules": [
{
"apply_once": false,
"condition": {
"cart": {
"items": {
"brands": [
36
]
},
"minimum_quantity": 2
}
},
"action": {
"cart_items": {
"strategy": "LEAST_EXPENSIVE",
"include_items_considered_by_condition": true,
"discount": {
"percentage_amount": "100"
},
"items": {
"brands": [
36
]
},
"quantity": 1
}
}
}
]
}
Buy two brand items and get the most expensive one at 50% off
Example request
{
"name": "Buy two brand items and get the most expensive one at 50% off",
"redemption_type": "AUTOMATIC",
"rules": [
{
"apply_once": false,
"condition": {
"cart": {
"items": {
"brands": [
36
]
},
"minimum_quantity": 2
}
},
"action": {
"cart_items": {
"strategy": "MOST_EXPENSIVE",
"include_items_considered_by_condition": true,
"discount": {
"percentage_amount": "50"
},
"items": {
"brands": [
36
]
},
"quantity": 1
}
}
}
]
}
Buy two brand items and get the most expensive one at $50 off
Example request
{
"name": "Buy two brand items and get the most expensive one at $50 off",
"redemption_type": "AUTOMATIC",
"rules": [
{
"apply_once": false,
"condition": {
"cart": {
"items": {
"brands": [
36
]
},
"minimum_quantity": 2
}
},
"action": {
"cart_items": {
"strategy": "MOST_EXPENSIVE",
"include_items_considered_by_condition": true,
"discount": {
"fixed_amount": "50"
},
"items": {
"brands": [
36
]
},
"quantity": 1
}
}
}
]
}
Spend $X on brand Y and get product Z for free
Example request
{
"name": "Spend $X on brand Y and get product Z for free",
"redemption_type": "AUTOMATIC",
"rules": [
{
"apply_once": false,
"condition": {
"cart": {
"items": {
"brands": [
38
]
},
"minimum_spend": 200
}
},
"action": {
"gift_item": {
"product_id": 130,
"quantity": 1
}
}
}
]
}
Did you find what you were looking for?