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
text
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
The ID of the perk
The type of the perk
The description of the perk
The title of the perk
The MarianaTek icon for the perk