STANDARD_HEADERS = '-H "Content-Type: application/json" ' \
  '-H "Accept-Version: v4.0" '\
  '-H "Accept: application/json" '\
  '-H "X-ClientId: 293487fhs98345yswoeir245789" '\

AUTH_HEADERS = '-H "Content-Type: application/json" ' \
  '-H "Accept-Version: v4.0" '\
  '-H "Accept: application/json" '\
  '-H "Authorization: Bearer 945148251b603ae34561d90acfe4050e67494d6d1e65d4d3d52798407f03c0bd" '\
  '-H "X-ClientId: 293487fhs98345yswoeir245789" '\
Authorization
string

All Thanx Loyalty API endpoints are protected and must be authorized via end user access tokens. These access tokens can be retrieved through an integration with Thanx SSO. The format of the header should be: Bearer access_token. Some endpoints don’t require a user to be signed in; these are called out in their separate sections.

Example: Bearer d6d6533c5ab9b528526f3e48a51e90b62

Content-Type
string

The only accepted value is application/json or empty if no body

Accept-Version
string
required

The Accept-Version header specifies which version of the Thanx API that should be used. The current version is v4.0. This header is required for every request. Thanx will notify you when a new API version is available.

Example: v4.0

Accept
string
required

The only accepted value is application/json

X-ClientId
string
required

Thanx will provide you with this value.

Example: f050d74b5c2b12ae17c85bd510addd7ba2