Cumulus number.
Match pattern:^\d{13}$
>= 13 characters<= 13 characters
Example:2099123456789
This endpoint returns the set of all Coupons attributed to a certain customer, identified by the Cumulus number. Coupons can be personalised Coupons (regular and POS-Coupons) as well as unpersonalised Partnercoupons (which are distributed to every Cumulus customer).
Personalised Coupons might be “Preview-Coupons”, i.e. a Coupon that is not yet valid (start date of campaign still in the future). These cannot be activated.
Cumulus number.
Match pattern:^\d{13}$
>= 13 characters<= 13 characters
Example:2099123456789
Lists of personalised and unpersonalisdc coupons.
Collection of Coupons attributed to a user (cumulus number). Note that the two arrays contain different types of elements.
Personalized coupon information of a user based on ReTi.
Personalized coupon information of a user based on ReTi.
Represents the coupon information based on MDB+.
Personalized coupon information of a user based on ReTi.
Personalized coupon information of a user based on ReTi.
This endpoint returns a single Coupon attributed to a customer (identified via the Cumulus number). Only personalised Coupons can be requested, i.e. this endpoint doesn’t return Partner-Coupons (these might not have a GTIN).
You probably should not use this endpoint at all: To find the list of Coupons of a user use /migros/customers/publiccoupons/v3/users/{cumulus} which provides all information. (The only conceivable usecase for this endpoint is if you got the GTIN through some side channel.)
Cumulus number.
Match pattern:^\d{13}$
>= 13 characters<= 13 characters
Example:2099123456789
GTIN (EAN) of Coupon. Its a string as GTINs often are longer than what integers can represent.
Match pattern:^\d+$
Lists of personalised and unpersonalisdc coupons.
Personalized coupon information of a user based on ReTi.
Represents the coupon information based on MDB+.
Date string when the coupon expires. Note that the format is different from coupon.start_date.
Example:2023-09-01+02:00
The GTIN (EAN) of the Coupon. ReTi calls this “offerId”.
Example:8888122276132945500263
unique_request_id as provided during redeem call.
Example:303461600060EF280F0C206267706114
If true then start_date is in the future and this Coupon cannot be activated yet as it is considered a “Preview-Coupon”.
Date string when the coupon begins to be usable. Note that the format is different from coupon.start_date.
Example:2023-06-13+02:00
A single Coupon can be attributed multiple times to a customer. 0 is omitted.
>= 0<= 99
Example:2
Datetime string when the coupon was redeemed (or empty).
Example:2024-05-10T10:39:06+02:00
1 = available, 2 = activated, 3 = redeemed.
Allowed values:123
Only non-redeem Coupons can be activated. It’s okay to activate an already active Coupon.
Note that no more than 50 Coupons can be in state ‘activated’ for a single Cumulus number. Trying to activate more results in a 409 error.
Note: The parameters can be sent as query parameters in the URL or as application/x-www-form-urlencoded in the request body (or any combination, it just doesn’t matter.)
Cumulus number.
Match pattern:^\d{13}$
>= 13 characters<= 13 characters
Example:2099123456789
GTIN (EAN) of Coupon. Its a string as GTINs often are longer than what integers can represent.
Match pattern:^\d+$
Successfully activated
Charge assigns an existing coupon to a cumulus number (i.e. buyer). It’s used by the cashier system to assign e.g. the 2x or 5x coupons to a buyer (Cumulus customer). Additionally it’s used by the cashier system to reverse assignments e.g. when charge was done and then to correct this (Storno). It is basically the reverse operation of redeem.
Note: The parameters can be sent as query parameters in the URL or as application/x-www-form-urlencoded in the request body (or any combination, it just doesn’t matter.)
The Migros internal costcenter number (Kostenstelle) to be billed. This is necessary especially for charge and reddeem.
>= 1000000<= 9999999
You probably should not send this value at all unless this is some kind of offline request for some internal transaction that happened in the past. It’s whole purpose is for logging and correlating different transactions but this is better done via transaction_id.
Format is Y-m-d\TH:i:s; Default is the time this call arrives at Reti.
Match pattern:\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}
Example:2023-08-17T14:03:05
Only ‘Kassen’ must use this field and send the Kassen-Nr/Terminal.
All other clients must leave this fields blank.
<= 999
Example:78
Transaktions-Nummer; gruppiert z.B. mehrere ReTi-Calls für denselben Kunden.
>= 3 characters<= 32 characters
Example:jdfjhamnasdl239msnsds34
Die Unique Request-Id muss innerhalb einer konfigurierten Zeitspanne (aktuell 300s) einmalig für das aktuelle Ereignis sein (z.B. Kauftransaktion X für Kunde Y und Coupon Z). Anhand dieser ID beurteilt ReTi, ob ein Charge bereits erfolgt ist (Offline-Buchungen, Mehrfach-Aufrufe usw.).
>= 3 characters<= 32 characters
Example:lksdfji3dmcns834la
Channel of the coupon; 1 = paper, 2 = digital, 3 = both (e.g. Bonus-Coupon). Usually when making a charge through the M-API you’ll want to use 2.
Allowed values:123
Example:2
Coupon type; 1 = transferable, 2 = personal/not transferable, 3 = Earlybird. Bonus coupons are personal. Falls der Checkcode fehlt, wird bei Bonus-Coupons (8888*) check_code==2 angenommen; bei allen anderen werden die vorhandenen Stammdaten berücksichtigt.
Allowed values:123
Status-Angabe für Coupon nach Charge; 0 = verfügbar/nicht aktiviert, 1 = aktiviert. Default-Wert je nach channel. Kassen: weglassen; Andere: bitte angeben.
Allowed values:1
Quantity of coupons to assign. By default 1. More than one is not really a use-case.
>= 1<= 99
The date from when on the coupon is valid, in the format YYYY-MM-DD.
The date until when the coupon is valid, in the format YYYY-MM-DD. Bonus coupons usually use end of the month.
Cumulus number.
Match pattern:^\d{13}$
>= 13 characters<= 13 characters
Example:2099123456789
GTIN (EAN) of Coupon. Its a string as GTINs often are longer than what integers can represent.
Match pattern:^\d+$
Charge successful
Only non-redeem Coupons can be deactivated. It’s okay to deactivate an already inactive Coupon.
Note: The parameters can be sent as query parameters in the URL or as application/x-www-form-urlencoded in the request body (or any combination, it just doesn’t matter.)
Cumulus number.
Match pattern:^\d{13}$
>= 13 characters<= 13 characters
Example:2099123456789
GTIN (EAN) of Coupon. Its a string as GTINs often are longer than what integers can represent.
Match pattern:^\d+$
Successfully deactivated