curl https://api.thanxsandbox.com/tier_statuses \ -X GET \ $AUTH_HEADERS
Copy
Ask AI
{ "tier_statuses": [ { "id": "weourif", "user_id": "woeru", "merchant_id": "werouwer", "level": "bronze", "action_text": "Spend $100 before the end of the year to earn Silver.", "progress": 50, "expires_at": "2021-01-01T20:00:00Z", "current_tier_name": "Bronze", "next_tier_name": "Silver" } ]}
Tiers
Get Tier Statuses
This endpoint describes the userβs current tier statuses.
GET
/
tier_statuses
Copy
Ask AI
curl https://api.thanxsandbox.com/tier_statuses \ -X GET \ $AUTH_HEADERS
Copy
Ask AI
{ "tier_statuses": [ { "id": "weourif", "user_id": "woeru", "merchant_id": "werouwer", "level": "bronze", "action_text": "Spend $100 before the end of the year to earn Silver.", "progress": 50, "expires_at": "2021-01-01T20:00:00Z", "current_tier_name": "Bronze", "next_tier_name": "Silver" } ]}
Name of next tier. This will be blank if the user has gold status
Copy
Ask AI
curl https://api.thanxsandbox.com/tier_statuses \ -X GET \ $AUTH_HEADERS
Copy
Ask AI
{ "tier_statuses": [ { "id": "weourif", "user_id": "woeru", "merchant_id": "werouwer", "level": "bronze", "action_text": "Spend $100 before the end of the year to earn Silver.", "progress": 50, "expires_at": "2021-01-01T20:00:00Z", "current_tier_name": "Bronze", "next_tier_name": "Silver" } ]}