curl --request POST \
--url https://{host}/promotion/v2/campaigns \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"unifiedCampaignId": "",
"campaignId": "95d73c76-f95e-4db4-bb14-d364ee40781c",
"campaignName": "coca_cola_10p_off",
"validFrom": "2026-11-05T00:00:00Z",
"validTo": "2026-11-11T00:00:00Z",
"previewVisibleFrom": null,
"campaignType": "appCoupon",
"scope": null,
"content": null,
"prices": {
"currency": "EUR",
"normalPrice": 5,
"price": null,
"normalPricePerUnit": 10,
"pricePerUnit": null
},
"discount": {
"priority": 5,
"allowOtherDiscountsOnTop": false,
"applyOnHighestPrice": null,
"itemsApplicationType": "NonDiscountedItems",
"impactLevel": "Line",
"discountType": null,
"maxDiscountAmount": 5,
"maxDiscountAmountPerCoupon": null,
"maxNumberApplyPerReceipt": 1,
"applicationType": "OnThreshold",
"checkoutTypes": null,
"rewardRedemptionSettings": null,
"rules": [
{
"type": "Percentage",
"value": 0.1,
"thresholdType": "Quantity",
"thresholdValue": 1,
"affiliations": [
{
"type": "Product",
"id": "coca-cola",
"applicationType": "Include"
},
{
"type": "Product",
"id": "fanta",
"applicationType": "Include"
}
]
}
]
},
"redemptionLimit": 1,
"totalCoupons": null,
"isDefault": false,
"chainIds": [
"1"
],
"storeIds": [],
"offerSynchronized": null,
"fundedBy": "",
"audience": null,
"isTemplate": false,
"displayPriority": null,
"preactivated": null,
"ignoreOnPos": null,
"published": null,
"defaultValidForDays": null,
"metadata": null,
"authorName": null
}
'{
"unifiedCampaignId": "2cfd81b1-f3f4-446a-853c-1197be597e24",
"campaignId": "97b70426-1d56-495b-a499-e66920455225",
"campaignName": "coca_cola_10p_off",
"validFrom": "2026-11-05T00:00:00Z",
"validTo": "2026-11-11T00:00:00Z",
"previewVisibleFrom": null,
"campaignType": "appCoupon",
"scope": "Individual",
"content": {
"iconTags": [],
"title": "10% Off Coca-Cola & Fanta – Chain 1 Deal",
"description": "Refresh your day with a cool discount! For a limited time, get 10% off Coca-Cola or Fanta when purchased without any other offers. This exclusive deal for Chain 1 is your ticket to crisp, bubbly savings—no stacking needed.",
"brand": "Coca-Cola Refreshments",
"imageUrl": "https://example.com/assets/coke_fanta_discount.jpg",
"discountLabel": "10% Off Coca-Cola & Fanta",
"normalPriceLabel": "Non-member price 5EUR",
"pricePerUnitLabelEnabled": true,
"unitOfMeasure": "L",
"conditionLabel": "Buy 1 Coca-Cola or Fanta",
"receiptDisplayText": "10% off Coca-Cola or Fanta",
"tags": [],
"icons": [],
"autogenerateDiscountLabel": null
},
"prices": {
"currency": "EUR",
"normalPrice": 5,
"price": 4.5,
"normalPricePerUnit": 10,
"pricePerUnit": 9
},
"discount": {
"priority": 5,
"allowOtherDiscountsOnTop": false,
"itemsApplicationType": "NonDiscountedItems",
"impactLevel": "Line",
"maxDiscountAmount": 5,
"maxDiscountAmountPerCoupon": 0,
"maxNumberApplyPerReceipt": 1,
"maxNumberApplyPerReceiptDecimal": 1,
"applyOnHighestPrice": false,
"applicationType": "OnThreshold",
"discountType": "SimpleLine",
"checkoutTypes": null,
"rewardRedemptionSettings": null,
"rules": [
{
"type": "Percentage",
"value": 0.1,
"thresholdType": "Quantity",
"thresholdValue": 1,
"affiliations": [
{
"type": "Product",
"id": "coca-cola",
"applicationType": "Include"
},
{
"type": "Product",
"id": "fanta",
"applicationType": "Include"
}
]
}
]
},
"status": "Active",
"redemptionLimit": 1,
"totalCoupons": null,
"statistics": {
"assignedCoupons": 1240,
"activatedCoupons": 830,
"claimedCoupons": 412,
"totalValue": 185.4,
"minValue": 0.45,
"maxValue": 0.5,
"avgValue": 0.45,
"minBasket": 4.5,
"maxBasket": 212.3,
"avgBasket": 38.7
},
"chainIds": [
"1"
],
"storeIds": [],
"isDefault": false,
"offerSynchronized": true,
"fundedBy": "Coca-Cola Refreshments",
"audience": null,
"metadata": null,
"authorName": "Integration",
"isTemplate": false,
"displayPriority": 5,
"preactivated": false,
"ignoreOnPos": false,
"defaultValidForDays": null,
"rewardRedemptionSettings": null,
"modifiedDate": "2026-11-04T12:20:15.4875971Z",
"modifiedBy": "Integration"
}Upsert offer
Your backend calls this to create or change an offer. When no offer has the given campaignId, the offer is created;
otherwise it is updated. On an update a value given in the request replaces the stored one, and a null or a missing
property keeps it, so you can send only what changes or the whole offer.
published: true publishes the offer in the same call and published: false moves it back to draft; omitted, the status
is left as it is. Where automatic publishing is enabled for your environment, a new offer is published on creation. An
offer that was deleted cannot be recreated under the same id.
curl --request POST \
--url https://{host}/promotion/v2/campaigns \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"unifiedCampaignId": "",
"campaignId": "95d73c76-f95e-4db4-bb14-d364ee40781c",
"campaignName": "coca_cola_10p_off",
"validFrom": "2026-11-05T00:00:00Z",
"validTo": "2026-11-11T00:00:00Z",
"previewVisibleFrom": null,
"campaignType": "appCoupon",
"scope": null,
"content": null,
"prices": {
"currency": "EUR",
"normalPrice": 5,
"price": null,
"normalPricePerUnit": 10,
"pricePerUnit": null
},
"discount": {
"priority": 5,
"allowOtherDiscountsOnTop": false,
"applyOnHighestPrice": null,
"itemsApplicationType": "NonDiscountedItems",
"impactLevel": "Line",
"discountType": null,
"maxDiscountAmount": 5,
"maxDiscountAmountPerCoupon": null,
"maxNumberApplyPerReceipt": 1,
"applicationType": "OnThreshold",
"checkoutTypes": null,
"rewardRedemptionSettings": null,
"rules": [
{
"type": "Percentage",
"value": 0.1,
"thresholdType": "Quantity",
"thresholdValue": 1,
"affiliations": [
{
"type": "Product",
"id": "coca-cola",
"applicationType": "Include"
},
{
"type": "Product",
"id": "fanta",
"applicationType": "Include"
}
]
}
]
},
"redemptionLimit": 1,
"totalCoupons": null,
"isDefault": false,
"chainIds": [
"1"
],
"storeIds": [],
"offerSynchronized": null,
"fundedBy": "",
"audience": null,
"isTemplate": false,
"displayPriority": null,
"preactivated": null,
"ignoreOnPos": null,
"published": null,
"defaultValidForDays": null,
"metadata": null,
"authorName": null
}
'{
"unifiedCampaignId": "2cfd81b1-f3f4-446a-853c-1197be597e24",
"campaignId": "97b70426-1d56-495b-a499-e66920455225",
"campaignName": "coca_cola_10p_off",
"validFrom": "2026-11-05T00:00:00Z",
"validTo": "2026-11-11T00:00:00Z",
"previewVisibleFrom": null,
"campaignType": "appCoupon",
"scope": "Individual",
"content": {
"iconTags": [],
"title": "10% Off Coca-Cola & Fanta – Chain 1 Deal",
"description": "Refresh your day with a cool discount! For a limited time, get 10% off Coca-Cola or Fanta when purchased without any other offers. This exclusive deal for Chain 1 is your ticket to crisp, bubbly savings—no stacking needed.",
"brand": "Coca-Cola Refreshments",
"imageUrl": "https://example.com/assets/coke_fanta_discount.jpg",
"discountLabel": "10% Off Coca-Cola & Fanta",
"normalPriceLabel": "Non-member price 5EUR",
"pricePerUnitLabelEnabled": true,
"unitOfMeasure": "L",
"conditionLabel": "Buy 1 Coca-Cola or Fanta",
"receiptDisplayText": "10% off Coca-Cola or Fanta",
"tags": [],
"icons": [],
"autogenerateDiscountLabel": null
},
"prices": {
"currency": "EUR",
"normalPrice": 5,
"price": 4.5,
"normalPricePerUnit": 10,
"pricePerUnit": 9
},
"discount": {
"priority": 5,
"allowOtherDiscountsOnTop": false,
"itemsApplicationType": "NonDiscountedItems",
"impactLevel": "Line",
"maxDiscountAmount": 5,
"maxDiscountAmountPerCoupon": 0,
"maxNumberApplyPerReceipt": 1,
"maxNumberApplyPerReceiptDecimal": 1,
"applyOnHighestPrice": false,
"applicationType": "OnThreshold",
"discountType": "SimpleLine",
"checkoutTypes": null,
"rewardRedemptionSettings": null,
"rules": [
{
"type": "Percentage",
"value": 0.1,
"thresholdType": "Quantity",
"thresholdValue": 1,
"affiliations": [
{
"type": "Product",
"id": "coca-cola",
"applicationType": "Include"
},
{
"type": "Product",
"id": "fanta",
"applicationType": "Include"
}
]
}
]
},
"status": "Active",
"redemptionLimit": 1,
"totalCoupons": null,
"statistics": {
"assignedCoupons": 1240,
"activatedCoupons": 830,
"claimedCoupons": 412,
"totalValue": 185.4,
"minValue": 0.45,
"maxValue": 0.5,
"avgValue": 0.45,
"minBasket": 4.5,
"maxBasket": 212.3,
"avgBasket": 38.7
},
"chainIds": [
"1"
],
"storeIds": [],
"isDefault": false,
"offerSynchronized": true,
"fundedBy": "Coca-Cola Refreshments",
"audience": null,
"metadata": null,
"authorName": "Integration",
"isTemplate": false,
"displayPriority": 5,
"preactivated": false,
"ignoreOnPos": false,
"defaultValidForDays": null,
"rewardRedemptionSettings": null,
"modifiedDate": "2026-11-04T12:20:15.4875971Z",
"modifiedBy": "Integration"
}Authorizations
Body
The offer to create or update. campaignId is required.
An offer to create or update.
The offer's type, which determines how its coupons reach customers and where they are used will be used. Types used so far: game, appCoupon, gift, preferredStore, memberOffer, stampCard, stickersCampaign, segmentedAppCoupon. If not specified during creation, default type will be used.
255Who owns the offer's coupons: one customer (Individual) or a household (Household). Household requires the Households feature to be enabled and cannot be combined with bonus rules. Cannot be changed after the offer is published. When not specified, defaults to last stored value on update, or Individual on create.
Individual, Household Specifies how many times coupon can be redeemed in store. Each redemption is a separate purchase. Amount of time a coupon can be used in one purchase is controlled by Discount model. When not specified, defaults to last stored value on update, or 1 on create. Use 0 to indicate that coupon can be redeemed unlimtied amount of times. If value is not equal to 1, we recommned providing Idempotency key during redemption, or weird behavior might happen.
Response
The offer as stored after the call.
An offer as stored, with the relations that were requested.