curl --request GET \
--url https://{cluster}.voucherify.io/v2/loyalties/tier-structures/{tierStructureId}/tiers \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"data": [
{
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"tier_structure_id": "<string>",
"name": "<string>",
"downgrade": {
"type": "INHERIT"
},
"object": "tier",
"qualification_rules": {
"type": "POINTS",
"points": {
"min_value": 123,
"max_value": 123
},
"segment": {
"id": "<string>"
}
}
}
],
"cursor": {
"next": "<string>",
"expires_at": "2023-11-07T05:31:56Z"
},
"object": "list"
}{
"code": 123,
"key": "<string>",
"message": "<string>",
"details": "<string>",
"request_id": "<string>",
"resource_id": "<string>",
"resource_type": "<string>"
}{
"code": 123,
"key": "<string>",
"message": "<string>",
"details": "<string>",
"request_id": "<string>",
"resource_id": "<string>",
"resource_type": "<string>"
}{
"code": 500,
"key": "api_error",
"message": "Something went wrong. Don't worry, your campaigns are still safe and the Voucherify Team has been notified. Check out our Help Center and forums for help, or head back to home."
}List tiers
This documentation is in progress. The parameters, fields, request and response bodies, and other data may be subject to change. If you need more information or you want to share feedback, contact Voucherify support or your Technical Account Manager.
Returns a cursor-paginated list of tiers belonging to the tier structure. This
endpoint does not support a filters parameter. The same field cannot be requested
in both ascending and descending order at once. Default order is -created_at.
A successful call records no activity.
curl --request GET \
--url https://{cluster}.voucherify.io/v2/loyalties/tier-structures/{tierStructureId}/tiers \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"data": [
{
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"tier_structure_id": "<string>",
"name": "<string>",
"downgrade": {
"type": "INHERIT"
},
"object": "tier",
"qualification_rules": {
"type": "POINTS",
"points": {
"min_value": 123,
"max_value": 123
},
"segment": {
"id": "<string>"
}
}
}
],
"cursor": {
"next": "<string>",
"expires_at": "2023-11-07T05:31:56Z"
},
"object": "list"
}{
"code": 123,
"key": "<string>",
"message": "<string>",
"details": "<string>",
"request_id": "<string>",
"resource_id": "<string>",
"resource_type": "<string>"
}{
"code": 123,
"key": "<string>",
"message": "<string>",
"details": "<string>",
"request_id": "<string>",
"resource_id": "<string>",
"resource_type": "<string>"
}{
"code": 500,
"key": "api_error",
"message": "Something went wrong. Don't worry, your campaigns are still safe and the Voucherify Team has been notified. Check out our Help Center and forums for help, or head back to home."
}Authorizations
Path Parameters
Query Parameters
Orders the results. Accepts one value or an array. Prefix a field with - for descending order. Defaults to -created_at. The same field cannot be used in both directions. Rows with the same sort value are then ordered by id ascending.
created_at, -created_at, name, -name Response
Paginated list of tiers.
Response body schema for GET /v2/loyalties/tier-structures/{tierStructureId}/tiers.

