This article is aimed at showing you various cases of implementation of the Loyalty module with your technical ecosystem through APIs (mostly your Ecommerce and Point of Sales system). After reading it, you will have a better idea on which API endpoints to use for your use cases.
For each of the use cases, we will provide the links towards our API platform (developer.splio.com), with a specific endpoint for each step.
Create a contact and a Loyalty cardcode
Step 1: List and search contacts
Step 2: Create a contact
Step 3: Get a membership
Authenticate a customer / Get tier / Get points balance
Step 1: List and search contacts
Step 2: Get a membership
Rule attributing points
Step 1: Create an order/basket
Step 2: Get a membership
Rule granting a reward
Step 1: Create an order/basket
Step 2: Get a membership
Burn a reward
Step 1: Get a membership
Step 2: Get a reward attributions
Step 3: Burn a reward