Loyalty Admin API
Loyalty Admin API
Goal: Interact with the loyalty program as a shop admin.
What's special about this API?
This is a counterpart to the Loyalty API, intended to enable admin-level adjustments to the customers' loyalty programs.
Authentication
When calling from... | authenticate using... | Recommended? |
---|---|---|
Anywhere | admin customer tokens | Recommended. |
Authentication
When calling from... | authenticate using... | Recommended? |
---|---|---|
Client side (web/mobile) | — | Do NOT call this API from the client side. |
Server side (backend) | shop tokens with customer data | The only way. |
Related APIs
If you want... | Examples | use... |
---|---|---|
customer-level access to the loyalty data | Get the customer's loyalty points | Loyalty API |
reward customers for performing custom actions in your shop | Give 100 points to customers who customize a product. | Triggers API |
Related topics
Calling RPC APIs
A vast majority of Bubblehouse APIs are JSON-based RPCs via HTTP with consistent calling conventions.