Tiers

These endpoints only work for merchants with tiers enabled. Access benefits via this set of endpoints.

get

Returns all tiers/segments for a given merchant. Merchant is pulled from the public API key for security reasons.

Query parameters
includeBenefitsbooleanoptional

Whether or not to include benefits in the response.

Header parameters
X-Inveterate-Api-Keystringrequired

Your private Inveterate API key.

Responses
curl -L \
  --url '/v2.0/admin/tiers' \
  --header 'X-Inveterate-Api-Key: text'
{
  "message": "text",
  "data": {}
}
get

Returns a single tier/segment for a given merchant. Merchant is pulled from the public API key for security reasons.

Path parameters
idstringrequired

The tier segment ID.

Query parameters
includeBenefitsbooleanoptional

Whether or not to include benefits in the response.

Header parameters
X-Inveterate-Api-Keystringrequired

Your private Inveterate API key.

Responses
curl -L \
  --url '/v2.0/admin/tiers/{id}' \
  --header 'X-Inveterate-Api-Key: text'
{
  "message": "text",
  "data": {}
}

Last updated

Was this helpful?