curl --request POST \
--url https://api.bonifiq.com.br/v1/pvt/Tiers/available \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"CustomerId": "<string>"
}
'{
"CurrentTier": {
"Id": 123,
"Image": "<string>",
"Color": "<string>",
"Name": "<string>",
"Order": 123,
"Benefits": [
{
"IsUsed": true,
"Description": "<string>",
"Type": 0,
"SubType": 123,
"Objective": "<unknown>"
}
],
"Goals": [
{
"Name": "<string>",
"GoalValue": 123,
"CurrentValue": 123,
"PercentToGoal": 123
}
]
},
"NextTiers": [
{
"Id": 123,
"Image": "<string>",
"Color": "<string>",
"Name": "<string>",
"Order": 123,
"Benefits": [
{
"IsUsed": true,
"Description": "<string>",
"Type": 0,
"SubType": 123,
"Objective": "<unknown>"
}
],
"Goals": [
{
"Name": "<string>",
"GoalValue": 123,
"CurrentValue": 123,
"PercentToGoal": 123
}
]
}
],
"AllTiers": [
{
"Id": 123,
"Image": "<string>",
"Color": "<string>",
"Name": "<string>",
"Order": 123,
"Benefits": [
{
"IsUsed": true,
"Description": "<string>",
"Type": 0,
"SubType": 123,
"Objective": "<unknown>"
}
],
"Goals": [
{
"Name": "<string>",
"GoalValue": 123,
"CurrentValue": 123,
"PercentToGoal": 123
}
]
}
]
}curl --request POST \
--url https://api.bonifiq.com.br/v1/pvt/Tiers/available \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"CustomerId": "<string>"
}
'{
"CurrentTier": {
"Id": 123,
"Image": "<string>",
"Color": "<string>",
"Name": "<string>",
"Order": 123,
"Benefits": [
{
"IsUsed": true,
"Description": "<string>",
"Type": 0,
"SubType": 123,
"Objective": "<unknown>"
}
],
"Goals": [
{
"Name": "<string>",
"GoalValue": 123,
"CurrentValue": 123,
"PercentToGoal": 123
}
]
},
"NextTiers": [
{
"Id": 123,
"Image": "<string>",
"Color": "<string>",
"Name": "<string>",
"Order": 123,
"Benefits": [
{
"IsUsed": true,
"Description": "<string>",
"Type": 0,
"SubType": 123,
"Objective": "<unknown>"
}
],
"Goals": [
{
"Name": "<string>",
"GoalValue": 123,
"CurrentValue": 123,
"PercentToGoal": 123
}
]
}
],
"AllTiers": [
{
"Id": 123,
"Image": "<string>",
"Color": "<string>",
"Name": "<string>",
"Order": 123,
"Benefits": [
{
"IsUsed": true,
"Description": "<string>",
"Type": 0,
"SubType": 123,
"Objective": "<unknown>"
}
],
"Goals": [
{
"Name": "<string>",
"GoalValue": 123,
"CurrentValue": 123,
"PercentToGoal": 123
}
]
}
]
}Use API Basic Auth Keys
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?