GET
/
rewards_programs
/
{id}
/
promotions
curl --request GET \
  --url https://api.pocketflows.com/rewards_programs/{id}/promotions \
  --header 'Authorization: Basic <encoded-value>'
{
  "promotions": [
    {
      "id": "<string>",
      "name": "<string>",
      "start_time": "<string>",
      "end_time": "<string>",
      "points_multiplier": 123,
      "description": "<string>",
      "image_url": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the rewards program

Response

200 - application/json

A dictionary with a promotions property which is an array of Promotion objects

The response is of type object.