Skip to main content
POST
Import personal offer coupons

Authorizations

Authorization
string
header
required

Opaque Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Headers

JobId
string

The job this batch belongs to: the same value on every batch of one import and on the finishing call.

Body

application/json

The coupons to import. Must not be empty.

offerId
string | null

The id of the offer the coupon is for. The offer must exist.

Example:

"c1e7b2a4-9d3f-4b6c-8e5a-7f0d2c4b9a16"

memberId
string | null

The id of the customer who gets the coupon, the platform's memberId.

Example:

"5b9d2e8f-3a7c-4f1b-a6d4-0c8e1f7b3d29"

preActivated
boolean

When true the coupon is active from the import and needs no activation by the customer.

Example:

false

visibleFrom
string<date-time> | null

When the coupon becomes visible in the app. The first row's value is used for every row of the job; when it is omitted, the offer's own start date is used.

Example:

"2026-11-02T00:00:00Z"

pickUpEndDate
string<date-time> | null

The last date the coupon can be picked up in store. The first row's value is used for every row of the job; when it is omitted, the offer's own end date is used.

Example:

"2026-11-29T23:59:59Z"

rule1Value
number<double> | null

Overrides the value of the offer's first discount rule for this customer. Omitted, the offer's value applies.

Example:

10

storeId
string | null

Restricts the coupon to one store. Omitted, the offer's stores and chains apply.

Example:

"1042"

Response

The batch was imported; errors is empty.

The outcome of an import call.

errors
object[] | null

One entry per row or step that failed, with its name, a message and, where known, details carrying the row's index. Empty when everything succeeded.

Last modified on August 10, 2026