Tiers
Get tiers
Tiers
Get tiers
Get all tiers
GET
/
tiers
curl --request GET \
--url https://app.masivo.ai/api/storefront/v1/tiers \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"status": "ACTIVE",
"level": 5.5,
"entry_conditions": [
[
{
"type": "Order Value",
"operator": "grater than",
"primitive": "string",
"value": 9.95
}
]
],
"exit_conditions": [
[
{
"type": "Order Value",
"operator": "grater than",
"primitive": "string",
"value": 9.95
}
]
]
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
Ok
The tier internal unique identifier
The name of the tier
The description of the tier
The status of the tier
Available options:
ACTIVE
, INACTIVE
The level of the tier
Required range:
1 <= x <= 10
The conditions to enter the tier
AND conditions
The conditions to exit the tier
AND conditions
curl --request GET \
--url https://app.masivo.ai/api/storefront/v1/tiers \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"status": "ACTIVE",
"level": 5.5,
"entry_conditions": [
[
{
"type": "Order Value",
"operator": "grater than",
"primitive": "string",
"value": 9.95
}
]
],
"exit_conditions": [
[
{
"type": "Order Value",
"operator": "grater than",
"primitive": "string",
"value": 9.95
}
]
]
}
]
}