Skip to main content
This API has been created for merchants who wish to implement their own loyalty components in their Shopify store.

See a more detailed description of the loyalty API

Using this API, they can seamlessly synchronize active promotions and vouchers between Shopify and Voyado Engage, as well as display a customer’s loyalty data in their own front-end.
Loyalty API overview

Loyalty API overview

Authorization method

The authorization method Bearer is used as part of a HTTPS header. The key is generated in the app settings section called “Headless API keys“.

Request

This is the request URL you will use:
With these request headers:
  • Authorization: Bearer [YOUR_AUTH_KEY]
  • Content-Type: application/json
  • Accept: application/json
And one of these request body parameters:
  • shopify_customer_id: This is required if none of the other parameters (voyado_contact_id, email) are present.
  • voyado_contact_id: This is required if none of the other parameters (shopify_customer_id, email) are present.
  • email: This is required if none of the other parameters (shopify_customer_id, voyado_contact_id) are present.
Explore the various payloads below:
This is an example response for a failed sync of active promotions (in this case the promotion is not found as a discount in Shopify).
This is an example of a failed sync of active reward vouchers (in this case currency conversion is missing).