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 member
Authenticate a customer / Get tier / Get points balance
Step 1: List and search contacts
Step 2: Get a member
Rule attributing points
Step 1: Create an order/cart
Step 2: Get a member
Rule granting a reward
Step 1: Create an order/cart
Step 2: Get a member
Burn a reward
Step 1: Get a member
Step 2: List a specific reward's grants
Step 3: Use a granted reward