cURL
curl --request POST \ --url https://api.pocketflows.com/tiers/{id} \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "minimum_points": 123, "perks": [ { "id": "<string>", "perk_type": "text", "description": "<string>", "title": "<string>" } ] } '
{ "id": "<string>", "name": "<string>", "minimum_points": 123, "associated_color": "<string>", "perks": [ { "id": "<string>", "perk_type": "<string>", "description": "<string>", "title": "<string>", "mariana_tek_icon": "<string>" } ] }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The ID of the tier
The name of the tier
The minimum number of points to qualify for the tier
The resulting perks we want to have as part of the tier
Show child attributes
The updated Tier object
Tier
The tier's name
The minimum number of points to reach this tier
The color associated with this tier
The perks associated with reaching this tier