Vincent is here! Just say the word, and Vincent will build the campaigns for you! Get early access.
curl --request GET \
--url https://api.voucherify.io/v2/loyalties/tier-structures/{id}/tiers \
--header 'Authorization: Bearer <token>' \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"data": [
{
"id": "<string>",
"tier_structure_id": "<string>",
"name": "<string>",
"downgrade": {
"type": "INHERIT"
},
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"object": "tier",
"qualification_rules": {
"type": "POINTS",
"min_value": 1,
"max_value": 1,
"segment": {
"id": "<string>"
}
},
"updated_at": "2023-11-07T05:31:56Z"
}
],
"object": "list",
"cursor": {
"next": "<string>",
"expires_at": "2023-11-07T05:31:56Z"
}
}⚠️ BETA endpoint
This is a work-in-progress documentation of a BETA endpoint. The parameters, fields, request and response bodies, and other data may subject to change. If you want to share feedback or improvements, contact Voucherify support or your Technical Account Manager.
Returns a paginated, cursor-based list of tiers belonging to the specified tier structure.
curl --request GET \
--url https://api.voucherify.io/v2/loyalties/tier-structures/{id}/tiers \
--header 'Authorization: Bearer <token>' \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"data": [
{
"id": "<string>",
"tier_structure_id": "<string>",
"name": "<string>",
"downgrade": {
"type": "INHERIT"
},
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"object": "tier",
"qualification_rules": {
"type": "POINTS",
"min_value": 1,
"max_value": 1,
"segment": {
"id": "<string>"
}
},
"updated_at": "2023-11-07T05:31:56Z"
}
],
"object": "list",
"cursor": {
"next": "<string>",
"expires_at": "2023-11-07T05:31:56Z"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.voucherify.io/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique tier structure identifier.
Maximum number of results to return (1-100).
1 <= x <= 100Sort order. Prefix with - for descending. Default: -created_at.
created_at, -created_at, name, -name Cursor for pagination. Obtained from a previous list response.
Was this page helpful?