XM

Retrieve a List of Promotions

Path:

POST https://{baseurl}/api-price/promo

Enables you to retrieve all the active promotions, in a paginated response. Optionally, query parameters 'limit' and 'offset' can be specified to narrow down results.

Headers

Content-Type : application/json

x-site-context : { "date": "2020-08-28T02:35:27.787Z", "channel": 12, "account": 5f493c9f30ec2a0007a94fc8", "stage": "sandbox" }

Parameters:

Type: query

Name: The offset and limit values to retrieve the list of promotions, in a paginated response. The default value for offset and limit are 0 and 10, respectively.

Required: true

Sample Response

HTTP Code: 200 Message: OK

{
"query": {
"limit": 10,
"offset": 0,
"count": 66
},
"promos": [
{
"_id": "5fc8aedcdf91700008c62918",
"state": "ACTIVE",
"isImplicit": false,
"isExclusive": false,
"title": "HURRY",
"startDate": "2020-12-03T09:30:00.965Z",
"endDate": "2020-12-03T18:30:00.000Z",
"promo": [
{
"condition": [
"5fc8aedcdf91700008c62917"
],
"discount": [
{
"_id": "5fc8b7909b145200083018d2",
"unit": "%OFF",
"value": 10,
"ON": {
"kind": "SKU",
"value": null
}
}
],
"targetProducts": [
{
"kind": "SKU",
"value": "*",
"operator": "IN"
}
]
}
],
"extra": {
"promoTiers": [
{
"id": 0,
"buyValue": "",
"typeWithValues": {
"selectedPromotionType": "Percentage off",
"promotionTypeValue": "10",
"shippingPromotionTypeValue": "",
"selectedShippingType": "Ground",
"selectedShippingPromotionType": "Percentage off"
}
}
],
"categoriesPath": {},
"selectedPriceRadio": "Base price",
"selectedPromoTypeRadio": "SKU(s)",
"getYSameSku": null,
"buyXSameSku": null,
"targetType": "targetX",
"selectedAdvancedOption": "SAME_SKUS",
"userKind": "All",
"target": {
"types": {
"targetX": {
"selectedSkus": {},
"selectedCategories": {},
"products": [],
"radioId": "ALL_PRODUCTS",
"skusCount": 0,
"selectedAttributesTree": {},
"selectedAttributes": [],
"totalProductsCount": 0,
"categoriesSkusCount": 0
}
}
},
"isAdvanceOptionsOpen": false,
"selectedExplicitOption": "isMultiple"
},
"promoId": 1281,
"termsAndConditions": [],
"updatedAt": "2020-12-03T10:01:52.415Z",
"promoCodes": [
"HURRY"
],
"promoCount": 1
},
{
"_id": "5fc8aec4df91700008c62915",
"state": "EXPIRED",
"isImplicit": false,
"isExclusive": true,
"title": "HURRY_DELETED",
"startDate": "2020-12-01T09:30:00.118Z",
"endDate": "2020-12-01T18:30:00.000Z",
"promo": [
{
"condition": [
"5fc8aec4df91700008c62914"
],
"discount": [
{
"_id": "5fc8aec4df91700008c62916",
"unit": "%OFF",
"value": 10,
"ON": {
"kind": "SKU",
"value": null
}
}
],
"targetProducts": [
{
"kind": "SKU",
"value": "*",
"operator": "IN"
}
]
}
],
"extra": {
"promoTiers": [
{
"id": 0,
"buyValue": "",
"typeWithValues": {
"selectedPromotionType": "Percentage off",
"promotionTypeValue": "10",
"shippingPromotionTypeValue": "",
"selectedShippingType": "Ground",
"selectedShippingPromotionType": "Percentage off"
}
}
],
"selectedPriceRadio": "Base price",
"selectedPromoTypeRadio": "SKU(s)",
"getYSameSku": null,
"buyXSameSku": null,
"targetType": "targetX",
"selectedAdvancedOption": "SAME_SKUS",
"userKind": "All",
"target": {
"types": {
"targetX": {
"products": [],
"radioId": "ALL_PRODUCTS",
"skusCount": 0,
"selectedAttributes": [],
"totalProductsCount": 0,
"categoriesSkusCount": 0
}
}
},
"isAdvanceOptionsOpen": false,
"selectedExplicitOption": "isMultiple"
},
"promoId": 1280,
"termsAndConditions": [],
"updatedAt": "2020-12-03T09:24:20.136Z",
"promoCodes": [
"HURRY_DELETED"
],
"promoCount": 1
},
{
"_id": "5fc8ad76969f071ff85221e2",
"state": "ACTIVE",
"isImplicit": false,
"isExclusive": true,
"title": "Sunday Special Coupon",
"startDate": "2020-12-01T11:58:42.860Z",
"endDate": "2020-12-05T08:19:33.453Z",
"promo": [
{
"condition": [
"5fc8ad75969f071ff85221e1"
],
"discount": [
{
"_id": "5fc8ad76969f071ff85221e3",
"unit": "%OFF",
"value": 10,
"ON": {
"kind": "SKU",
"value": null
}
}
],
"targetProducts": [
{
"kind": "SKU",
"value": "*",
"operator": "IN"
}
]
}
],
"termsAndConditions": [
{
"_id": "5fc8ad76969f071ff85221e4",
"title": "Entering a Coupon",
"description": "Each coupon is identified by a code and has different rewards. The claimant can decide the reward desired during the booking phase whilst being bound by the conditions linked to the redemption of the coupon"
}
],
"promoId": 1279,
"updatedAt": "2020-12-03T09:18:46.956Z",
"promoCodes": [
"SUND56AY"
],
"promoCount": 1
},
{
"_id": "5fc89d244f0a410007018dc4",
"state": "ACTIVE",
"isImplicit": false,
"isExclusive": false,
"title": "test71",
"startDate": "2020-12-03T08:30:00.000Z",
"endDate": "2020-12-03T18:30:00.000Z",
"promo": [
{
"condition": [
"5fc89d244f0a410007018dc3"
],
"discount": [
{
"_id": "5fc89d7bdbcf140007196545",
"unit": "%OFF",
"value": 20,
"ON": {
"kind": "SKU",
"value": null
}
}
],
"targetProducts": [
{
"kind": "SKU",
"value": "*",
"operator": "IN"
}
]
}
],
"extra": {
"promoTiers": [
{
"id": 0,
"buyValue": "",
"typeWithValues": {
"selectedPromotionType": "Percentage off",
"promotionTypeValue": "20",
"shippingPromotionTypeValue": "",
"selectedShippingType": "Ground",
"selectedShippingPromotionType": "Percentage off"
}
}
],
"categoriesPath": {},
"selectedPriceRadio": "Base price",
"selectedPromoTypeRadio": "SKU(s)",
"getYSameSku": null,
"buyXSameSku": null,
"targetType": "targetX",
"selectedAdvancedOption": "SAME_SKUS",
"userKind": "All",
"target": {
"types": {
"targetX": {
"selectedSkus": {},
"selectedCategories": {},
"products": [],
"radioId": "ALL_PRODUCTS",
"skusCount": 0,
"selectedAttributesTree": {},
"selectedAttributes": [],
"totalProductsCount": 0,
"categoriesSkusCount": 0
}
}
},
"isAdvanceOptionsOpen": false,
"selectedExplicitOption": "isMultiple"
},
"promoId": 1270,
"termsAndConditions": [],
"updatedAt": "2020-12-03T08:10:35.869Z",
"promoCodes": [
"testting71"
],
"promoCount": 1
},
{
"_id": "5fc0e18c57d2870008576aeb",
"state": "ACTIVE",
"isImplicit": false,
"isExclusive": false,
"title": "checkAttribute",
"startDate": "2020-11-24T18:30:00.000Z",
"endDate": "2021-11-11T11:30:00.000Z",
"promo": [
{
"condition": [
"5fc0e18c57d2870008576aea"
],
"discount": [
{
"_id": "5fc88e4a02aeba00084110a0",
"unit": "%OFF",
"value": 20,
"ON": {
"kind": "SKU",
"value": null
}
}
],
"targetProducts": [
{
"kind": "SKU",
"value": "*",
"operator": "IN"
}
]
},
{
"condition": [
"5fc88e4a02aeba000841109f"
],
"discount": [
{
"_id": "5fc88e4a02aeba00084110a1",
"unit": "%OFF",
"value": 40,
"ON": {
"kind": "SKU",
"value": null
}
}
],
"targetProducts": [
{
"kind": "SKU",
"value": "*",
"operator": "IN"
}
]
}
],
"extra": {
"promoTiers": [
{
"id": 0,
"buyValue": 10,
"typeWithValues": {
"selectedPromotionType": "Percentage off",
"promotionTypeValue": "20",
"shippingPromotionTypeValue": "",
"selectedShippingType": "Ground",
"selectedShippingPromotionType": "Percentage off"
}
},
{
"id": 1,
"typeWithValues": {
"selectedPromotionType": "Percentage off",
"promotionTypeValue": "40",
"shippingPromotionTypeValue": "",
"selectedShippingType": "Ground",
"selectedShippingPromotionType": "Percentage off"
},
"buyValue": 40
}
],
"categoriesPath": {},
"selectedPriceRadio": "Base price",
"selectedPromoTypeRadio": "Cart Value",
"getYSameSku": null,
"buyXSameSku": null,
"targetType": "targetX",
"selectedAdvancedOption": "SAME_SKUS",
"userKind": "All",
"target": {
"types": {
"targetX": {
"selectedSkus": {},
"selectedCategories": {},
"products": [],
"radioId": "ALL_PRODUCTS",
"skusCount": 0,
"selectedAttributesTree": {},
"selectedAttributes": [],
"totalProductsCount": 0,
"categoriesSkusCount": 0,
"attributesItemDetails": {}
}
}
},
"isAdvanceOptionsOpen": false,
"selectedExplicitOption": "isMultiple"
},
"promoId": 1267,
"updatedAt": "2020-12-03T07:05:46.362Z",
"promoCodes": [
"checkAttribute"
],
"promoCount": 1
},
{
"_id": "5fbe4d198ac49a00071560ca",
"state": "EXPIRED",
"isImplicit": false,
"isExclusive": true,
"title": "non stack",
"startDate": "2020-11-25T12:30:00.904Z",
"endDate": "2020-12-02T18:30:00.000Z",
"promo": [
{
"condition": [
"5fbe4d198ac49a00071560c9"
],
"discount": [
{
"_id": "5fbf9c8323cb0000079d27b1",
"unit": "AMOUNT_OFF",
"value": 20,
"ON": {
"kind": "SKU",
"value": null
}
}
],
"targetProducts": [
{
"kind": "SKU",
"value": "*",
"operator": "IN"
}
]
}
],
"extra": {
"promoTiers": [
{
"id": 0,
"buyValue": "",
"typeWithValues": {
"selectedPromotionType": "Amount off",
"promotionTypeValue": "20",
"shippingPromotionTypeValue": "",
"selectedShippingType": "Ground",
"selectedShippingPromotionType": "Percentage off"
}
}
],
"categoriesPath": {},
"selectedPriceRadio": "Base price",
"selectedPromoTypeRadio": "SKU(s)",
"getYSameSku": null,
"buyXSameSku": null,
"targetType": "targetX",
"selectedAdvancedOption": "SAME_SKUS",
"userKind": "All",
"target": {
"types": {
"targetX": {
"selectedSkus": {},
"selectedCategories": {},
"products": [],
"radioId": "ALL_PRODUCTS",
"skusCount": 0,
"selectedAttributesTree": {},
"selectedAttributes": [],
"totalProductsCount": 0,
"categoriesSkusCount": 0
}
}
},
"isAdvanceOptionsOpen": false,
"selectedExplicitOption": "isMultiple"
},
"promoId": 1262,
"updatedAt": "2020-11-26T12:16:03.897Z",
"promoCodes": [
"dddddddd"
],
"promoCount": 1
},
{
"_id": "5fa0128f5d09be00070d03ff",
"state": "EXPIRED",
"isImplicit": false,
"isExclusive": false,
"title": "BUY X GET 2 inclusion coupon",
"startDate": "2020-11-01T14:15:00.159Z",
"endDate": "2020-11-30T14:30:00.000Z",
"promo": [
{
"condition": [
"5fa0128f5d09be00070d03fe"
],
"discount": [
{
"_id": "5fbf73cae8f3170008766842",
"unit": "%OFF",
"value": 50,
"ON": {
"kind": "SKU",
"quantity": 2,
"value": null
}
}
],
"targetProducts": [
{
"kind": "SKU",
"value": "*",
"operator": "IN"
}
]
}
],
"extra": {
"promoTiers": [
{
"id": 0,
"buyValue": "",
"typeWithValues": {
"selectedPromotionType": "Percentage off",
"promotionTypeValue": "50",
"shippingPromotionTypeValue": "",
"selectedShippingType": "Ground",
"selectedShippingPromotionType": "Percentage off"
}
}
],
"categoriesPath": {
"5f8936277b54060007c50a6e": "5f8936277b54060007c50a6e",
"5f96795ddecace000887afd3": "5f8936277b54060007c50a6e.5f96795ddecace000887afd3",
"5f887404fedf27000810fd3a": "5f887404fedf27000810fd3a",
"5f968dbe5648730008d8d346": "5f887404fedf27000810fd3a.5f968c925648730008d8d345.5f968dbe5648730008d8d346",
"5f968c925648730008d8d345": "5f887404fedf27000810fd3a.5f968c925648730008d8d345",
"5f90106acf29b600085acd3f": "5f887404fedf27000810fd3a.5f90106acf29b600085acd3f",
"5f7dc272c48da000081b9416": "5f7dc272c48da000081b9416",
"5f7dc27cc48da000081b9419": "5f7dc272c48da000081b9416.5f7dc276c48da000081b9417.5f7dc27cc48da000081b9419",
"5f7dc282c48da000081b941b": "5f7dc272c48da000081b9416.5f7dc276c48da000081b9417.5f7dc279c48da000081b9418.5f7dc282c48da000081b941b",
"5f7dc28bc48da000081b941d": "5f7dc272c48da000081b9416.5f7dc276c48da000081b9417.5f7dc279c48da000081b9418.5f7dc280c48da000081b941a.5f7dc28bc48da000081b941d",
"5f7dc289c48da000081b941c": "5f7dc272c48da000081b9416.5f7dc276c48da000081b9417.5f7dc279c48da000081b9418.5f7dc280c48da000081b941a.5f7dc289c48da000081b941c",
"5f7dc280c48da000081b941a": "5f7dc272c48da000081b9416.5f7dc276c48da000081b9417.5f7dc279c48da000081b9418.5f7dc280c48da000081b941a",
"5f7dc279c48da000081b9418": "5f7dc272c48da000081b9416.5f7dc276c48da000081b9417.5f7dc279c48da000081b9418",
"5f7dc276c48da000081b9417": "5f7dc272c48da000081b9416.5f7dc276c48da000081b9417",
"5f7d8d4373aeb500077048dc": "5f7d8d4373aeb500077048dc",
"5f7d8d5b73aeb500077048de": "5f7d8d4373aeb500077048dc.5f7d8d5073aeb500077048dd.5f7d8d5b73aeb500077048de",
"5f7d8d5073aeb500077048dd": "5f7d8d4373aeb500077048dc.5f7d8d5073aeb500077048dd",
"5f7d8541f2ea3f0007a68e54": "5f7d8541f2ea3f0007a68e54",
"5f7d86baf2ea3f0007a68e58": "5f7d8541f2ea3f0007a68e54.5f7d85aff2ea3f0007a68e56.5f7d86baf2ea3f0007a68e58",
"5f7d85aff2ea3f0007a68e56": "5f7d8541f2ea3f0007a68e54.5f7d85aff2ea3f0007a68e56",
"5f5766860f5d2f0007a378a9": "5f5766860f5d2f0007a378a9",
"5faa325bcffc7900072a83e5": "5f5766860f5d2f0007a378a9.5faa3220cffc7900072a83e1.5faa325bcffc7900072a83e5",
"5faa3252cffc7900072a83e4": "5f5766860f5d2f0007a378a9.5faa3220cffc7900072a83e1.5faa3252cffc7900072a83e4",
"5faa324bcffc7900072a83e3": "5f5766860f5d2f0007a378a9.5faa3220cffc7900072a83e1.5faa324bcffc7900072a83e3",
"5faa3270cffc7900072a83e7": "5f5766860f5d2f0007a378a9.5faa3220cffc7900072a83e1.5faa3247cffc7900072a83e2.5faa3270cffc7900072a83e7",
"5faa3269cffc7900072a83e6": "5f5766860f5d2f0007a378a9.5faa3220cffc7900072a83e1.5faa3247cffc7900072a83e2.5faa3269cffc7900072a83e6",
"5faa3247cffc7900072a83e2": "5f5766860f5d2f0007a378a9.5faa3220cffc7900072a83e1.5faa3247cffc7900072a83e2",
"5faa3220cffc7900072a83e1": "5f5766860f5d2f0007a378a9.5faa3220cffc7900072a83e1",
"5faa37fb41eae10008886585": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa.5faa37cc41eae10008886581.5faa37ea41eae10008886583.5faa37f641eae10008886584.5faa37fb41eae10008886585",
"5faa37f641eae10008886584": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa.5faa37cc41eae10008886581.5faa37ea41eae10008886583.5faa37f641eae10008886584",
"5faa37ea41eae10008886583": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa.5faa37cc41eae10008886581.5faa37ea41eae10008886583",
"5faa37de41eae10008886582": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa.5faa37cc41eae10008886581.5faa37de41eae10008886582",
"5faa37cc41eae10008886581": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa.5faa37cc41eae10008886581",
"5f5766970f5d2f0007a378ac": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa.5f5766900f5d2f0007a378ab.5f5766970f5d2f0007a378ac",
"5f5766900f5d2f0007a378ab": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa.5f5766900f5d2f0007a378ab",
"5f57668c0f5d2f0007a378aa": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa",
"5f55df5adab45500080f92f2": "5f55df5adab45500080f92f2",
"5f55df69dab45500080f92f5": "5f55df5adab45500080f92f2.5f55df61dab45500080f92f3.5f55df69dab45500080f92f5",
"5f5f79c96ff31800075fca35": "5f55df5adab45500080f92f2.5f55df61dab45500080f92f3.5f55df65dab45500080f92f4.5f5766820f5d2f0007a378a8.5f5f79c96ff31800075fca35",
"5f5766820f5d2f0007a378a8": "5f55df5adab45500080f92f2.5f55df61dab45500080f92f3.5f55df65dab45500080f92f4.5f5766820f5d2f0007a378a8",
"5f55df6fdab45500080f92f6": "5f55df5adab45500080f92f2.5f55df61dab45500080f92f3.5f55df65dab45500080f92f4.5f55df6fdab45500080f92f6",
"5f55df65dab45500080f92f4": "5f55df5adab45500080f92f2.5f55df61dab45500080f92f3.5f55df65dab45500080f92f4",
"5f55df61dab45500080f92f3": "5f55df5adab45500080f92f2.5f55df61dab45500080f92f3",
"5f55be4209402a0008e5e46d": "5f55be4209402a0008e5e46d",
"5f51ed3fb1d96600084b57bf": "5f51ed3fb1d96600084b57bf",
"5f51ed29b1d96600084b57bd": "5f51ed29b1d96600084b57bd",
"5f51ed39b1d96600084b57be": "5f51ed29b1d96600084b57bd.5f51ed39b1d96600084b57be",
"5f4f5476e197910007cc541b": "5f4f5476e197910007cc541b",
"5f4f5487e197910007cc541e": "5f4f5476e197910007cc541b.5f4f547be197910007cc541c.5f4f5481e197910007cc541d.5f4f5487e197910007cc541e",
"5f4f5481e197910007cc541d": "5f4f5476e197910007cc541b.5f4f547be197910007cc541c.5f4f5481e197910007cc541d",
"5f4f547be197910007cc541c": "5f4f5476e197910007cc541b.5f4f547be197910007cc541c",
"5f4cd53194cace0008f0a67d": "5f4cd53194cace0008f0a67d",
"5f4cb801b880ef0007172b5b": "5f4cb801b880ef0007172b5b",
"5f4cb904b880ef0007172b5e": "5f4cb801b880ef0007172b5b.5f4cb806b880ef0007172b5c.5f4cb80ab880ef0007172b5d.5f4cb904b880ef0007172b5e",
"5f4cb80ab880ef0007172b5d": "5f4cb801b880ef0007172b5b.5f4cb806b880ef0007172b5c.5f4cb80ab880ef0007172b5d",
"5f4cb806b880ef0007172b5c": "5f4cb801b880ef0007172b5b.5f4cb806b880ef0007172b5c",
"5f32a3107e7e200007746de0": "5f32a3107e7e200007746de0",
"5f92aa061a238700082946ee": "5f32a3107e7e200007746de0.5f92aa061a238700082946ee"
},
"selectedPriceRadio": "Base price",
"selectedPromoTypeRadio": "SKU(s)",
"getYSameSku": "2",
"buyXSameSku": "1",
"targetType": "targetY",
"selectedAdvancedOption": "SAME_SKUS",
"userKind": "All",
"target": {
"types": {
"targetX": {
"selectedSkus": {},
"selectedCategories": {},
"products": [],
"radioId": "ALL_PRODUCTS",
"skusCount": 0,
"selectedAttributesTree": {},
"selectedAttributes": [],
"totalProductsCount": 0,
"categoriesSkusCount": 0,
"attributesItemDetails": {}
}
}
},
"isAdvanceOptionsOpen": true,
"selectedExplicitOption": "isMultiple"
},
"promoId": 1159,
"updatedAt": "2020-11-26T09:22:18.187Z",
"promoCodes": [
"BOGOINCLUSION"
],
"promoCount": 1
},
{
"_id": "5fb674f0c076e60008b172e3",
"state": "DISABLED",
"isImplicit": false,
"isExclusive": true,
"title": "PostmanConfigTestingCoupon",
"startDate": "2020-11-19T13:45:00.703Z",
"endDate": "2020-11-19T14:00:00.704Z",
"promo": [
{
"condition": [
"5fb674f0c076e60008b172e2"
],
"discount": [
{
"_id": "5fb674f0c076e60008b172e4",
"unit": "%OFF",
"value": 10,
"ON": {
"kind": "SKU",
"value": null
}
}
],
"targetProducts": [
{
"kind": "SKU",
"value": "*",
"operator": "IN"
}
]
}
],
"extra": {
"promoTiers": [
{
"id": 0,
"buyValue": 1000,
"typeWithValues": {
"selectedPromotionType": "Percentage off",
"promotionTypeValue": "10",
"shippingPromotionTypeValue": "",
"selectedShippingType": "Ground",
"selectedShippingPromotionType": "Percentage off"
}
}
],
"selectedPriceRadio": "Base price",
"selectedPromoTypeRadio": "Cart Value",
"getYSameSku": null,
"buyXSameSku": null,
"targetType": "targetX",
"selectedAdvancedOption": "SAME_SKUS",
"userKind": "All",
"target": {
"types": {
"targetX": {
"products": [],
"radioId": "ALL_PRODUCTS",
"skusCount": 0,
"selectedAttributes": [],
"totalProductsCount": 0,
"categoriesSkusCount": 0
}
}
},
"isAdvanceOptionsOpen": false,
"selectedExplicitOption": "isMultiple"
},
"promoId": 1244,
"updatedAt": "2020-11-19T13:37:03.708Z",
"promoCodes": [
"PostmanConfigTestingCoupon"
],
"promoCount": 1
},
{
"_id": "5fa90fb9ce91340008f482ee",
"state": "ACTIVE",
"isImplicit": false,
"isExclusive": false,
"title": "check sku coupon",
"startDate": "2020-10-09T10:00:00.411Z",
"endDate": "2021-03-06T10:00:00.000Z",
"promo": [
{
"condition": [
"5fa90fb9ce91340008f482ed"
],
"discount": [
{
"_id": "5fb60bd147eb1f0008d600df",
"unit": "AMOUNT_OFF",
"value": 40,
"ON": {
"kind": "SKU",
"value": null
}
}
],
"targetProducts": [
{
"kind": "SKU",
"value": [
1000000241
],
"operator": "NOT_IN"
}
]
}
],
"extra": {
"promoTiers": [
{
"id": 0,
"buyValue": "",
"typeWithValues": {
"selectedPromotionType": "Amount off",
"promotionTypeValue": "40",
"shippingPromotionTypeValue": "",
"selectedShippingType": "Ground",
"selectedShippingPromotionType": "Percentage off"
}
}
],
"categoriesPath": {},
"selectedPriceRadio": "Base price",
"selectedPromoTypeRadio": "SKU(s)",
"getYSameSku": null,
"buyXSameSku": null,
"targetType": "targetX",
"selectedAdvancedOption": "SAME_SKUS",
"userKind": "All",
"target": {
"types": {
"targetX": {
"selectedSkus": {
"5faa359bdf050d0007e5edf6": {
"5faa35a2ff0da80009eee7f2": {
"_id": "5faa35a2ff0da80009eee7f2",
"title": "dimond ring",
"parent": "5faa359bdf050d0007e5edf6",
"images": [],
"itemId": 1000000241,
"sku": "ASDADS"
}
}
},
"selectedCategories": {},
"products": [
{
"key": "SKUs",
"values": [
{
"_id": "5faa35a2ff0da80009eee7f2",
"title": "dimond ring",
"parent": "5faa359bdf050d0007e5edf6",
"images": [],
"itemId": 1000000241,
"sku": "ASDADS"
}
],
"count": 1
}
],
"radioId": "EXCLUDE_PRODUCTS",
"skusCount": 1,
"selectedAttributesTree": {},
"selectedAttributes": [],
"totalProductsCount": 1,
"categoriesSkusCount": 0,
"attributesItemDetails": {}
}
}
},
"isAdvanceOptionsOpen": false,
"selectedExplicitOption": "isMultiple"
},
"promoId": 1183,
"updatedAt": "2020-11-19T06:08:17.557Z",
"promoCodes": [
"SKUCOUPON"
],
"promoCount": 1
},
{
"_id": "5fb60a13580eda0007474634",
"state": "EXPIRED",
"isImplicit": false,
"isExclusive": true,
"title": "asdfadad",
"startDate": "2020-11-19T07:30:00.691Z",
"endDate": "2020-11-19T08:15:00.223Z",
"promo": [
{
"condition": [
"5fb60a13580eda0007474633"
],
"discount": [
{
"_id": "5fb60a13580eda0007474635",
"unit": "%OFF",
"value": 45,
"ON": {
"kind": "SKU",
"quantity": 45,
"value": null
}
}
],
"targetProducts": [
{
"kind": "CATEGORY",
"value": [
"5faa3220cffc7900072a83e1",
"5faa325bcffc7900072a83e5",
"5faa3252cffc7900072a83e4",
"5faa324bcffc7900072a83e3",
"5faa3247cffc7900072a83e2",
"5faa3270cffc7900072a83e7",
"5faa3269cffc7900072a83e6"
],
"operator": "IN"
}
]
}
],
"extra": {
"promoTiers": [
{
"id": 0,
"buyValue": "",
"typeWithValues": {
"selectedPromotionType": "Percentage off",
"promotionTypeValue": "45",
"shippingPromotionTypeValue": "",
"selectedShippingType": "Ground",
"selectedShippingPromotionType": "Percentage off"
}
}
],
"categoriesPath": {
"5f8936277b54060007c50a6e": "5f8936277b54060007c50a6e",
"5f96795ddecace000887afd3": "5f8936277b54060007c50a6e.5f96795ddecace000887afd3",
"5f887404fedf27000810fd3a": "5f887404fedf27000810fd3a",
"5f968dbe5648730008d8d346": "5f887404fedf27000810fd3a.5f968c925648730008d8d345.5f968dbe5648730008d8d346",
"5f968c925648730008d8d345": "5f887404fedf27000810fd3a.5f968c925648730008d8d345",
"5f90106acf29b600085acd3f": "5f887404fedf27000810fd3a.5f90106acf29b600085acd3f",
"5f7dc272c48da000081b9416": "5f7dc272c48da000081b9416",
"5f7dc27cc48da000081b9419": "5f7dc272c48da000081b9416.5f7dc276c48da000081b9417.5f7dc27cc48da000081b9419",
"5f7dc282c48da000081b941b": "5f7dc272c48da000081b9416.5f7dc276c48da000081b9417.5f7dc279c48da000081b9418.5f7dc282c48da000081b941b",
"5f7dc28bc48da000081b941d": "5f7dc272c48da000081b9416.5f7dc276c48da000081b9417.5f7dc279c48da000081b9418.5f7dc280c48da000081b941a.5f7dc28bc48da000081b941d",
"5f7dc289c48da000081b941c": "5f7dc272c48da000081b9416.5f7dc276c48da000081b9417.5f7dc279c48da000081b9418.5f7dc280c48da000081b941a.5f7dc289c48da000081b941c",
"5f7dc280c48da000081b941a": "5f7dc272c48da000081b9416.5f7dc276c48da000081b9417.5f7dc279c48da000081b9418.5f7dc280c48da000081b941a",
"5f7dc279c48da000081b9418": "5f7dc272c48da000081b9416.5f7dc276c48da000081b9417.5f7dc279c48da000081b9418",
"5f7dc276c48da000081b9417": "5f7dc272c48da000081b9416.5f7dc276c48da000081b9417",
"5f7d8d4373aeb500077048dc": "5f7d8d4373aeb500077048dc",
"5f7d8d5b73aeb500077048de": "5f7d8d4373aeb500077048dc.5f7d8d5073aeb500077048dd.5f7d8d5b73aeb500077048de",
"5f7d8d5073aeb500077048dd": "5f7d8d4373aeb500077048dc.5f7d8d5073aeb500077048dd",
"5f7d8541f2ea3f0007a68e54": "5f7d8541f2ea3f0007a68e54",
"5f7d86baf2ea3f0007a68e58": "5f7d8541f2ea3f0007a68e54.5f7d85aff2ea3f0007a68e56.5f7d86baf2ea3f0007a68e58",
"5f7d85aff2ea3f0007a68e56": "5f7d8541f2ea3f0007a68e54.5f7d85aff2ea3f0007a68e56",
"5f5766860f5d2f0007a378a9": "5f5766860f5d2f0007a378a9",
"5faa325bcffc7900072a83e5": "5f5766860f5d2f0007a378a9.5faa3220cffc7900072a83e1.5faa325bcffc7900072a83e5",
"5faa3252cffc7900072a83e4": "5f5766860f5d2f0007a378a9.5faa3220cffc7900072a83e1.5faa3252cffc7900072a83e4",
"5faa324bcffc7900072a83e3": "5f5766860f5d2f0007a378a9.5faa3220cffc7900072a83e1.5faa324bcffc7900072a83e3",
"5faa3270cffc7900072a83e7": "5f5766860f5d2f0007a378a9.5faa3220cffc7900072a83e1.5faa3247cffc7900072a83e2.5faa3270cffc7900072a83e7",
"5faa3269cffc7900072a83e6": "5f5766860f5d2f0007a378a9.5faa3220cffc7900072a83e1.5faa3247cffc7900072a83e2.5faa3269cffc7900072a83e6",
"5faa3247cffc7900072a83e2": "5f5766860f5d2f0007a378a9.5faa3220cffc7900072a83e1.5faa3247cffc7900072a83e2",
"5faa3220cffc7900072a83e1": "5f5766860f5d2f0007a378a9.5faa3220cffc7900072a83e1",
"5faa37fb41eae10008886585": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa.5faa37cc41eae10008886581.5faa37ea41eae10008886583.5faa37f641eae10008886584.5faa37fb41eae10008886585",
"5faa37f641eae10008886584": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa.5faa37cc41eae10008886581.5faa37ea41eae10008886583.5faa37f641eae10008886584",
"5faa37ea41eae10008886583": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa.5faa37cc41eae10008886581.5faa37ea41eae10008886583",
"5faa37de41eae10008886582": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa.5faa37cc41eae10008886581.5faa37de41eae10008886582",
"5faa37cc41eae10008886581": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa.5faa37cc41eae10008886581",
"5f5766970f5d2f0007a378ac": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa.5f5766900f5d2f0007a378ab.5f5766970f5d2f0007a378ac",
"5f5766900f5d2f0007a378ab": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa.5f5766900f5d2f0007a378ab",
"5f57668c0f5d2f0007a378aa": "5f5766860f5d2f0007a378a9.5f57668c0f5d2f0007a378aa",
"5f55df5adab45500080f92f2": "5f55df5adab45500080f92f2",
"5f55df69dab45500080f92f5": "5f55df5adab45500080f92f2.5f55df61dab45500080f92f3.5f55df69dab45500080f92f5",
"5f5f79c96ff31800075fca35": "5f55df5adab45500080f92f2.5f55df61dab45500080f92f3.5f55df65dab45500080f92f4.5f5766820f5d2f0007a378a8.5f5f79c96ff31800075fca35",
"5f5766820f5d2f0007a378a8": "5f55df5adab45500080f92f2.5f55df61dab45500080f92f3.5f55df65dab45500080f92f4.5f5766820f5d2f0007a378a8",
"5f55df6fdab45500080f92f6": "5f55df5adab45500080f92f2.5f55df61dab45500080f92f3.5f55df65dab45500080f92f4.5f55df6fdab45500080f92f6",
"5f55df65dab45500080f92f4": "5f55df5adab45500080f92f2.5f55df61dab45500080f92f3.5f55df65dab45500080f92f4",
"5f55df61dab45500080f92f3": "5f55df5adab45500080f92f2.5f55df61dab45500080f92f3",
"5f55be4209402a0008e5e46d": "5f55be4209402a0008e5e46d",
"5f51ed3fb1d96600084b57bf": "5f51ed3fb1d96600084b57bf",
"5f51ed29b1d96600084b57bd": "5f51ed29b1d96600084b57bd",
"5f51ed39b1d96600084b57be": "5f51ed29b1d96600084b57bd.5f51ed39b1d96600084b57be",
"5f4f5476e197910007cc541b": "5f4f5476e197910007cc541b",
"5f4f5487e197910007cc541e": "5f4f5476e197910007cc541b.5f4f547be197910007cc541c.5f4f5481e197910007cc541d.5f4f5487e197910007cc541e",
"5f4f5481e197910007cc541d": "5f4f5476e197910007cc541b.5f4f547be197910007cc541c.5f4f5481e197910007cc541d",
"5f4f547be197910007cc541c": "5f4f5476e197910007cc541b.5f4f547be197910007cc541c",
"5f4cd53194cace0008f0a67d": "5f4cd53194cace0008f0a67d",
"5f4cb801b880ef0007172b5b": "5f4cb801b880ef0007172b5b",
"5f4cb904b880ef0007172b5e": "5f4cb801b880ef0007172b5b.5f4cb806b880ef0007172b5c.5f4cb80ab880ef0007172b5d.5f4cb904b880ef0007172b5e",
"5f4cb80ab880ef0007172b5d": "5f4cb801b880ef0007172b5b.5f4cb806b880ef0007172b5c.5f4cb80ab880ef0007172b5d",
"5f4cb806b880ef0007172b5c": "5f4cb801b880ef0007172b5b.5f4cb806b880ef0007172b5c",
"5f32a3107e7e200007746de0": "5f32a3107e7e200007746de0",
"5f92aa061a238700082946ee": "5f32a3107e7e200007746de0.5f92aa061a238700082946ee"
},
"selectedPriceRadio": "Base price",
"selectedPromoTypeRadio": "SKU(s)",
"getYSameSku": "45",
"buyXSameSku": "45",
"targetType": "targetY",
"selectedAdvancedOption": "DIFFERENT_SKUS",
"userKind": "All",
"target": {
"types": {
"targetX": {
"products": [
{
"key": "Categories",
"values": [
{
"id": "5faa37fb41eae10008886585",
"title": "Women / Clothes / newarrival / perfume / brand / rollerball"
},
{
"id": "5faa37de41eae10008886582",
"title": "Women / Clothes / newarrival / gold"
}
],
"count": 2
}
],
"radioId": "INCLUDE_PRODUCTS",
"skusCount": 0,
"selectedAttributes": [],
"totalProductsCount": 2,
"categoriesSkusCount": 2
},
"targetY": {
"products": [
{
"key": "Categories",
"values": [
{
"id": "5faa325bcffc7900072a83e5",
"title": "Women / Jewellery / Bracelet"
},
{
"id": "5faa3252cffc7900072a83e4",
"title": "Women / Jewellery / nosepin"
},
{
"id": "5faa324bcffc7900072a83e3",
"title": "Women / Jewellery / chains"
},
{
"id": "5faa3270cffc7900072a83e7",
"title": "Women / Jewellery / rings / dimaond"
},
{
"id": "5faa3269cffc7900072a83e6",
"title": "Women / Jewellery / rings / gold"
}
],
"count": 5
}
],
"radioId": "INCLUDE_PRODUCTS",
"skusCount": 0,
"selectedAttributes": [],
"totalProductsCount": 3,
"categoriesSkusCount": 3
}
}
},
"isAdvanceOptionsOpen": true,
"selectedExplicitOption": "isMultiple"
},
"promoId": 1239,
"updatedAt": "2020-11-19T06:00:51.586Z",
"promoCodes": [
"asasddas"
],
"promoCount": 1
}
]
}

HTTP Code: 400 Message: Client Error

HTTP Code: 500 Message: Server Error

Change Log

  • June - 2021

  • March - 2021 First updated