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
}
]
]
}
]
}Get all 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
}
]
]
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Ok
Show child attributes
The tier internal unique identifier
The name of the tier
The description of the tier
The status of the tier
ACTIVE, INACTIVE The level of the tier
1 <= x <= 10The conditions to enter the tier
AND conditions
Show child attributes
The type of the condition
"Order Value"
The operator to compare the attribute
"grater than"
The primitive of the value to compare
string, number, currency, boolean, absolute date, relative date, recurring date The value to compare
9.95
The conditions to exit the tier
AND conditions
Show child attributes
The type of the condition
"Order Value"
The operator to compare the attribute
"grater than"
The primitive of the value to compare
string, number, currency, boolean, absolute date, relative date, recurring date The value to compare
9.95