curl --request POST \
--url https://{host}/promotion/v3/bulk/offers \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"offerId": "a6a70850-f3e0-42d3-b406-7af0c79d1d94",
"name": "coca_cola_10p_off",
"validFrom": "2026-11-18T00:00:00Z",
"validTo": "2026-11-24T00:00:00Z",
"previewVisibleFrom": null,
"offerType": "appCoupon",
"scope": null,
"unifiedCampaignId": null,
"title": null,
"description": null,
"brand": null,
"imageUrl": null,
"discountLabel": null,
"normalPriceLabel": null,
"pricePerUnitLabelEnabled": null,
"unitOfMeasure": null,
"conditionLabel": null,
"receiptDisplayText": null,
"tags": null,
"normalPrice": 5,
"normalPricePerUnit": 10,
"currency": "EUR",
"priority": 5,
"allowOtherDiscountsOnTop": false,
"itemsApplicationType": "NonDiscountedItems",
"maxDiscountAmount": 5,
"impactLevel": "Line",
"discountType": "SimpleLine",
"applyOnHighestPrice": false,
"maxNumberApplyPerReceipt": 1,
"redemptionLimit": 1,
"checkoutTypes": null,
"rewardRedeemableFrom": null,
"rewardRedeemableTo": null,
"rewardRedeemableForDays": null,
"totalCoupons": null,
"isDefault": false,
"chainIds": "1",
"storeIds": null,
"audienceIds": null,
"fundedBy": null,
"displayPriority": null,
"preactivated": null,
"ignoreOnPos": null,
"published": false,
"defaultValidForDays": null,
"rule1Type": "percentage",
"rule1Value": 0.1,
"rule1ThresholdType": "quantity",
"rule1ThresholdValue": 1,
"rule1IncludedProducts": "coca-cola;fanta",
"rule1ExcludedProducts": "",
"rule1IncludedCategories": "",
"rule1ExcludedCategories": ""
}
]
'{
"errors": []
}Import offers
Imports many offers in one call, in the flat row format a Data Import file upload uses, so the same rows can come from a file or from your integration directly. An offer that does not exist is created; an existing one is updated in place. Offers are processed one by one: a row that fails is reported, and the other rows are still imported.
- An empty string clears a field; a null leaves it unchanged. With a file import every field is set from the file, so existing values are overwritten, and a missing numeric value becomes its default.
- At least one discount rule is needed to publish: a row with
published: trueand no rules is not created. - A decimal in an integer field, or an unknown enum value, fails parsing of the whole request, and no offer is imported.
- Several discount rules per offer go in
rule1Type,rule1Value,rule2Type,rule2Valueand so on, numbered without gaps; rules after a gap are ignored.
curl --request POST \
--url https://{host}/promotion/v3/bulk/offers \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"offerId": "a6a70850-f3e0-42d3-b406-7af0c79d1d94",
"name": "coca_cola_10p_off",
"validFrom": "2026-11-18T00:00:00Z",
"validTo": "2026-11-24T00:00:00Z",
"previewVisibleFrom": null,
"offerType": "appCoupon",
"scope": null,
"unifiedCampaignId": null,
"title": null,
"description": null,
"brand": null,
"imageUrl": null,
"discountLabel": null,
"normalPriceLabel": null,
"pricePerUnitLabelEnabled": null,
"unitOfMeasure": null,
"conditionLabel": null,
"receiptDisplayText": null,
"tags": null,
"normalPrice": 5,
"normalPricePerUnit": 10,
"currency": "EUR",
"priority": 5,
"allowOtherDiscountsOnTop": false,
"itemsApplicationType": "NonDiscountedItems",
"maxDiscountAmount": 5,
"impactLevel": "Line",
"discountType": "SimpleLine",
"applyOnHighestPrice": false,
"maxNumberApplyPerReceipt": 1,
"redemptionLimit": 1,
"checkoutTypes": null,
"rewardRedeemableFrom": null,
"rewardRedeemableTo": null,
"rewardRedeemableForDays": null,
"totalCoupons": null,
"isDefault": false,
"chainIds": "1",
"storeIds": null,
"audienceIds": null,
"fundedBy": null,
"displayPriority": null,
"preactivated": null,
"ignoreOnPos": null,
"published": false,
"defaultValidForDays": null,
"rule1Type": "percentage",
"rule1Value": 0.1,
"rule1ThresholdType": "quantity",
"rule1ThresholdValue": 1,
"rule1IncludedProducts": "coca-cola;fanta",
"rule1ExcludedProducts": "",
"rule1IncludedCategories": "",
"rule1ExcludedCategories": ""
}
]
'{
"errors": []
}Authorizations
Body
The offers to import, one row each.
Customer specific offer type. Determines how or by which service offer will be used. Types used so far: game, appCoupon, gift, preferredStore, memberOffer, stampCard, stickersCampaign, segmentedAppCoupon, personalOffer. If not specified and offer is new, default type will be used, but publish will fail.
Who 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 unlimited amount of times. If value is not equal to 1, we recommend providing Idempotency key during redemption, or weird behavior might happen.
The number of days after which the benefit expires if not used, counted from the moment the benefit is granted. This property is mutually exclusive with Promotion.Client.ApiModels.V3.Requests.BulkUpsertRequest.RewardRedeemableTo. Can be used only for Bonus benefits.