Error handling
Requests that result in an error always have the same response syntax:
1
2
3
4
5
{
"message": "<message>",
"code": <code>,
"status_code": 400
}Error responses have a status code 400 and are accompanied by a declarative message. Underneath each of the available API calls, we've listed the errors you may encounter in that specific API call. However, you can also find the full list below. Hopefully the messages themselves are sufficiently clear. If you encounter an error and the error message is unclear or missing, please contact us.
Code
Message
7002Account inactive.
55018Loyalty Program not active.
1102Shop not linked to a Loyalty Program.
1103Loyalty Program not found.
1003Invalid input.
55012Member not found.
55031Contact not found.
60016Contact not anonymous.
60005Contact already exists.
55007Loyalty card not found.
55032User app not found.
1013Card not registered.
60001Credit reception creating in progress.
1015Maximum amount of credits reached.
1048This card was not found
6003Reward not found.
60007Unit not found.
55016The card is already linked to a member.
55046No default unit found.
55017Member already exists.
1017Onvoldoende punten | Insufficient credits.
1027POS Transaction not found.
6001The POS transaction is already linked to a credit reception.
1019You have reached your claim limit on this reward.
1018The stock on this reward is empty.
6007The linked template does not contain the right replacement variable.
1041Staged Credit Reception not found.
1034Staged credit reception is already redeemed.
1008Shop not found.
7011User has no access to this account.
5001Giftcard not found.
7010That giftcard is not valid.
5003Het bedrag op de kaart is niet toereikend. | Insufficient amount on giftcard.
5007Deze giftcard is niet gekoppeld aan een programma. | Giftcard not linked to Giftcard Program.
7015Shop does not have access to Giftcard Program.
5006Deze giftcard kan niet opgewaardeerd worden. | This giftcard cannot be incremented.
1114Only non re-incrementable giftcards can be used in the OAuthRoutes Clients API.
5008Maximale limiet op kaart bereikt. | Max amount will be exceeded.
5002Het bedrag op de kaart is verlopen. | This giftcard has expired.
55004Marketing program not found.
55020Marketing recipient not found.
55005Marketing program customer already exists.
55021Only Digital giftcards can by created using the public API.
1028Credit reception not found.
55024This credit reception was not created by this shop.
1010Kaart is niet geactiveerd. | Card is not activated.
55025This is not the giftcards last transaction.
60003Contact identifier not found.
60004Contact identifier inactive.
60006Contact identifier already exists.
60014Contact identifier is already linked.
60011Contact identifier is not linked to a contact.
60009Attribute already exists.
55030Subscription type not found.
13010Passcode not found.
55045Unit already exists.
60013Model not found.
60018Please submit credits when using v1
60019Please submit units when using v2
60000Usage limit reached.
