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?
Anywherecustomer tokensRecommended.
If you want...Examplesuse...
admin-level access to the customer loyalty dataAdjust a customer's loyalty pointsLoyalty Admin API
reward customers for performing custom actions in your shopGive 100 points to customers who customize a product.Triggers API

Calling RPC APIs

A vast majority of Bubblehouse APIs are JSON-based RPCs via HTTP with consistent calling conventions.
Previous
Time & monetary values