Skip to content

AppliedPromotions

Applied promotions of the order. If the order is in the status new this parameter will be ignored. The system will automatically calc the promotions for the order

Type: array[object]

[
{
"code": "2020summerPromotion",
"name": "Summer Promotion for 2020",
"model": "simpleDiscount",
"description": "This promotion is for our summer coupons",
"promotionalText": "This coupons gives you 10% off to celebrate the summer 2020",
"status": "active",
"startDate": "2020-07-01T00:00:000",
"endDate": "2020-07-01T00:00:000",
"target": "order",
"type": "coupon",
"discount": {
"type": "percentage",
"amount": 10
},
"conditions": {
"$and": [
{
"subTotal": {
"gte": 100
}
},
{
"$or": [
{
"fulfillmentMethod": {
"$in": [
"directShip",
"BOPIS",
"ROPIS"
]
}
},
{
"customer.segment.code": {
"$in": [
"employees",
"contractors"
]
}
}
]
}
]
}
}
]