Tiers

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

get

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

Path parameters
idstringRequired

The customer 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
200
Returned upon successful direct action to our database. Action is immediate.
application/json
get
GET /v2.0/storefront/tiers/{id} HTTP/1.1
Host: 
X-Inveterate-Api-Key: text
Accept: */*
{
  "message": "text",
  "data": {}
}

Last updated

Was this helpful?