x-api-key: ********************{
"id": "xYGqjSjyBfYaPVoa",
"parameters": {
"amountOff": 1200,
"buyCount": 1,
"customerSegment": "FAMILY",
"orderAmount": 1000,
"amount": 1,
"loyaltyCard": false,
"exclBuyCategories": []
}
}curl --location --request POST 'https://api.mircate.com/5p1hp1d2t/CALL/Promotion/updatePromotionParameters/' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "xYGqjSjyBfYaPVoa",
"parameters": {
"amountOff": 1200,
"buyCount": 1,
"customerSegment": "FAMILY",
"orderAmount": 1000,
"amount": 1,
"loyaltyCard": false,
"exclBuyCategories": []
}
}'{
"message": "Promotion parameters updated successfully",
"promotion": {
"title": "Mircate-Promotion",
"active": true,
"description": "",
"tag": "",
"finishDate": "2025-12-26T21:00:00.000Z",
"startDate": "2025-12-15T21:00:00.000Z",
"userMessage": "",
"segments": [],
"params": {
"orderAmount": 1000,
"customerSegment": "FAMILY",
"amountOff": 1200,
"arrayParam": [
"iphone14"
],
"birthday": "2024-12-15T21:00:00.000Z",
"buyCount": 1,
"amount": 1,
"loyaltyCard": false,
"exclBuyCategories": []
},
"promotionTemplateId": "np3K",
"orderLevel": 1,
"priority": 0,
"maxUseCount": 0,
"maxUseAmount": 0,
"maxUseCountPerCustomer": 0,
"maxUseAmountPerCustomer": 0,
"checkCategory": false,
"isForceApply": true,
"isExclusive": false,
"locales": {
"tr_TR": {
"title": "Mircate-Promotion",
"userMessage": ""
}
},
"exclusions": [],
"promotionType": "normal",
"imageUrl": "https://api.b2btest.retter.io/331d4nbu6/CALL/Image/get?image=7WIDI4TYHR22EU3USLRSPH90.png",
"id": "CT7EWNKI",
"updatedAt": "2025-12-10T14:56:01.082Z",
"createdAt": "2025-12-10T13:42:06.325Z"
}
}