cURL
curl --request POST \ --url https://api.pocketflows.com/rewards_programs/{id}/tiers \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "minimum_points": 123, "perks": [ "<string>" ] }'
{ "id": "<string>", "name": "<string>", "minimum_points": 123, "perks": [ "<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 rewards program
The created Tier object
Tier
The response is of type object.
object