Loyalty API
Loyalty API
Goal: Interact with the loyalty program on a customer’s behalf.
What’s special about this API?
All loyalty API functions are related to a specific customer and run with “customer priviledges”, i.e. only allow doing what a customer can do.
Some would say Loyalty is our “primary” API, in a sense that it exposes the core objects and actions of the loyalty program.
Authentication
| When calling from… | authenticate using… | Recommended? |
|---|---|---|
| Anywhere | customer tokens | Recommended. |
Related APIs
| If you want… | Examples | use… |
|---|---|---|
| admin-level access to the customer loyalty data | Adjust a customer’s loyalty points | Loyalty Admin API |
| reward customers for performing custom actions in your shop | Give 100 points to customers who customize a product. | Triggers API |