cURL
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>",
"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>",
"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>",
"SubType": 123,
"Objective": "<unknown>"
}
],
"Goals": [
{
"Name": "<string>",
"GoalValue": 123,
"CurrentValue": 123,
"PercentToGoal": 123
}
]
}
]
}Tiers
Post v1pvttiersavailable
POST
/
v1
/
pvt
/
Tiers
/
available
cURL
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>",
"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>",
"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>",
"SubType": 123,
"Objective": "<unknown>"
}
],
"Goals": [
{
"Name": "<string>",
"GoalValue": 123,
"CurrentValue": 123,
"PercentToGoal": 123
}
]
}
]
}Was this page helpful?
⌘I