Skip to main content
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>",
        "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
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Use API Basic Auth Keys

Body

application/json
CustomerId
string | null

Response

200 - application/json
CurrentTier
object
NextTiers
object[]
AllTiers
object[]