Level

get
Get levels

{{api-endpoint}}/level/{merchantId}
Request
Response
Request
Path Parameters
merchantId
required
string
Response
200: OK
[
{
"id": "dbe64a89-5a42-4dfd-9ea6-6aeb9a82d668",
"name": "Basic",
"privileges": []
},
{
"id": "d0a169ac-37e1-487c-96b1-c207572568ca",
"name": "Silver",
"privileges": [
{
"id": "1f74bc64-ee8c-4a30-923f-a300aaa72696",
"name": "PercentDiscount",
"isPercent": true,
"amount": 10
}
]
},
{
"id": "3c59e77f-1f3a-42f5-8692-cdfd8c75ecb0",
"name": "Gold",
"privileges": [
{
"id": "5487beac-35d8-4d73-bb2b-3a26b4a9a233",
"name": "PercentDiscount",
"isPercent": true,
"amount": 15
}
]
},
{
"id": "7277edf8-bb9f-42a9-8c32-b4127f611f71",
"name": "Platinum",
"privileges": [
{
"id": "b0bbddd7-1aa2-4f8f-a7d3-66bbe581f03c",
"name": "PercentDiscount",
"isPercent": true,
"amount": 20
}
]
}
]