GET
/
account

Parameters

location_id
string

The location identifier; this is what your system uses to identify a location. Providing this information allows Thanx to return rewards that can be used at this location.

redemption_venue
string

Currently either instore or online, defaults to online. This is used to adjust which configured product IDs are returned in the applicable reward and points product entities.

Response

id
string

The ID of user

email
string

The user’s email

rewards
array(hash)

The user’s rewards for the merchant specified in the header. This array can be empty.

points_products
array(hash)

The merchant’s configured points product available for online redemption. This array can be empty.

progress
hash

A user’s progress toward their next loyalty reward

Only present for merchants that have not yet upgraded to points
points
array

Array of information about the configured points experiences and the current user’s balance at each

Only present for merchants that have enabled points