curl --request POST \
--url https://{host}/promotion/v3/offers \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"unifiedCampaignId": "",
"offerId": "d4a227c6-6ef9-4846-9fea-e662d77e06ac",
"name": "coca_cola_10p_off",
"validFrom": "2026-11-18T00:00:00Z",
"validTo": "2026-11-24T00:00:00Z",
"previewVisibleFrom": null,
"offerType": "appCoupon",
"scope": null,
"offerContent": 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": null,
"identifiers": [
"coca-cola",
"fanta"
],
"applicationType": "Include"
}
]
}
]
},
"redemptionLimit": 1,
"totalCoupons": null,
"isDefault": false,
"chainIds": [
"1"
],
"storeIds": [],
"offerSynchronized": null,
"fundedBy": "",
"audienceIds": null,
"displayPriority": null,
"preactivated": null,
"ignoreOnPos": null,
"published": null,
"defaultValidForDays": null,
"metadata": null,
"authorName": null
}
'{
"unifiedCampaignId": "d8d89453-41c2-4842-8620-663a2b9557ae",
"offerId": "9f036187-e6d5-488d-8be1-42ab55acf7c5",
"name": "coca_cola_10p_off",
"validFrom": "2026-11-18T00:00:00Z",
"validTo": "2026-11-24T00:00:00Z",
"previewVisibleFrom": null,
"offerType": "appCoupon",
"segmentationType": "Segmented",
"scope": "Individual",
"content": {
"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": null,
"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,
"applyOnHighestPrice": false,
"applicationType": "OnThreshold",
"discountType": "SimpleLine",
"checkoutTypes": null,
"rewardRedemptionSettings": null,
"rules": [
{
"type": "Percentage",
"value": 0.1,
"thresholdType": "Quantity",
"thresholdValue": 1,
"affiliations": [
{
"type": "Product",
"id": null,
"identifiers": [
"coca-cola",
"fanta"
],
"applicationType": "Include"
}
]
}
]
},
"status": "Active",
"redemptionLimit": 1,
"totalCoupons": null,
"statistics": {
"assignedCoupons": 1240,
"activatedCoupons": 830,
"redeemedCoupons": 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",
"audienceIds": null,
"metadata": null,
"authorName": "Integration",
"isTemplate": false,
"displayPriority": 5,
"preactivated": false,
"ignoreOnPos": false,
"defaultValidForDays": null,
"modifiedDate": "2026-11-17T09:16:29.9147019Z",
"modifiedBy": "Integration",
"deletedAt": null
}Upsert offer
Your backend calls this to create or change an offer. When no offer has the given offerId, 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/v3/offers \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"unifiedCampaignId": "",
"offerId": "d4a227c6-6ef9-4846-9fea-e662d77e06ac",
"name": "coca_cola_10p_off",
"validFrom": "2026-11-18T00:00:00Z",
"validTo": "2026-11-24T00:00:00Z",
"previewVisibleFrom": null,
"offerType": "appCoupon",
"scope": null,
"offerContent": 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": null,
"identifiers": [
"coca-cola",
"fanta"
],
"applicationType": "Include"
}
]
}
]
},
"redemptionLimit": 1,
"totalCoupons": null,
"isDefault": false,
"chainIds": [
"1"
],
"storeIds": [],
"offerSynchronized": null,
"fundedBy": "",
"audienceIds": null,
"displayPriority": null,
"preactivated": null,
"ignoreOnPos": null,
"published": null,
"defaultValidForDays": null,
"metadata": null,
"authorName": null
}
'{
"unifiedCampaignId": "d8d89453-41c2-4842-8620-663a2b9557ae",
"offerId": "9f036187-e6d5-488d-8be1-42ab55acf7c5",
"name": "coca_cola_10p_off",
"validFrom": "2026-11-18T00:00:00Z",
"validTo": "2026-11-24T00:00:00Z",
"previewVisibleFrom": null,
"offerType": "appCoupon",
"segmentationType": "Segmented",
"scope": "Individual",
"content": {
"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": null,
"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,
"applyOnHighestPrice": false,
"applicationType": "OnThreshold",
"discountType": "SimpleLine",
"checkoutTypes": null,
"rewardRedemptionSettings": null,
"rules": [
{
"type": "Percentage",
"value": 0.1,
"thresholdType": "Quantity",
"thresholdValue": 1,
"affiliations": [
{
"type": "Product",
"id": null,
"identifiers": [
"coca-cola",
"fanta"
],
"applicationType": "Include"
}
]
}
]
},
"status": "Active",
"redemptionLimit": 1,
"totalCoupons": null,
"statistics": {
"assignedCoupons": 1240,
"activatedCoupons": 830,
"redeemedCoupons": 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",
"audienceIds": null,
"metadata": null,
"authorName": "Integration",
"isTemplate": false,
"displayPriority": 5,
"preactivated": false,
"ignoreOnPos": false,
"defaultValidForDays": null,
"modifiedDate": "2026-11-17T09:16:29.9147019Z",
"modifiedBy": "Integration",
"deletedAt": null
}Authorizations
Body
The offer to create or update. offerId 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.
Name of the user on whose behalf the upsert is made. Recorded as the offer's author on create and as the last modifier on update, and as the actor of any publish or stop the request triggers. When not specified, "Integration" is used. Ignored by the admin endpoints, which use the signed-in user.
64Response
The offer as stored after the call.
An offer as stored, with the details that were requested. A deleted offer from a delta sync carries only offerId and deletedAt.
UTC time the offer was deleted. Set only on a deleted offer returned by a delta sync with updatedSince; null on every
other offer. On a deleted offer only offerId and deletedAt carry data: ignore every other field, which is null,
false or 0, and remove the offer from your copy.