GET
/
api
/
loyalty
/
accounts
/
{id}
/
rank
curl --request GET \
  --url https://admin.snagsolutions.io/api/loyalty/accounts/{id}/rank \
  --header 'X-API-KEY: <api-key>'
{
  "rank": 1
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required

UUID of the account

Example:

"123e4567-e89b-12d3-a456-426614174333"

Query Parameters

id
string
required

UUID of the account

Example:

"123e4567-e89b-12d3-a456-426614174333"

websiteId
string
required

UUID of the website

Example:

"123e4567-e89b-12d3-a456-426614174333"

organizationId
string
required

UUID of the organization

Example:

"123e4567-e89b-12d3-a456-426614174333"

loyaltyCurrencyId
string
required

UUID of the loyalty currency

Example:

"123e4567-e89b-12d3-a456-426614174333"

Response

200
application/json
200
rank
number
required

Rank of the user

Example:

1