Logo
Getting started
    • Overview
    • Authentication
    • Testing
    • Error handling
    • Webhooks
    • Loyalty Tokens
    • Register API
Tutorials
API Reference

Migrating to v3

V3 of the public API is now live. There are some breaking changes here. While we will continue to support the V1 & V2 for the time being, at some point new developments in our product will inevitably lead to deprecation of the older versions. Also, newer features – like prepaid API calls and the creation of custom Reward Attributes via API – will only be available in the V3 version and onwards. We therefore urge you to migrate to V3 as soon as you can.

Summary of breaking changes

The V3 version comes with some breaking changes:

  • Contact based - replacing Members and Recipients: The entire API is now Contact based, meaning 'Members' and 'Recipients' no longer play a role anymore and have been replaced with Contacts for all relevant API calls.
  • Contact Identifiers - replacing Loyalty cards: The Loyalty system will no longer be limited to the standard Loyalty cards, so anything unique can be used to identify Contacts. Therefore, although Loyalty cards can still be used, they will now be represented by Contact Identifiers.
  • Orders: Implicitly, all credit receptions were created using 'purchase_amount'. This has been replaced by the more dynamic and diverse Orders. Clients can create Orders with line items, charges, applied discounts and even link applied reward redemptions, giftcard transactions et cetera.
  • Loyalty Tokens - replacing Staged Credit Receptions: A new process for creating Staged Credit Receptions has been implemented, which doesn't require any API calls. This way is quicker and independent of a stable internet connection, and has been rebranded 'Loyalty Tokens'.
  • Single Rewards list and reception calls: Instead of getting three separate lists of Rewards, as well as having to do a separate 'Create Reward Reception' API call per Reward type, you now get one unified list of Rewards and only need one reception call for all types.
  • Use of UUIDs: The new API is based mostly on UUIDs, instead of the simpler IDs used in the past. One or two API calls still use regular IDs, but they will be refactored to UUIDs soon enough, so keep that in mind.

Refactoring processes

Here we'll give a short guide on how to migrate all the old processes to the new v3 versions.