GET
/
businesses
/
{id}
/
rewards_profiles
Show all rewards profiles
curl --request GET \
  --url https://api.pocketflows.com/businesses/{id}/rewards_profiles \
  --header 'Authorization: Basic <encoded-value>'
{
  "points": 123,
  "customer": "<string>",
  "tier": "<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 business

Response

200 - application/json

The rewards profiles for all customers of the business

points
integer
required

The number of points the customer has

customer
required

The customer associated with the rewards profile

tier
required

The tier of the customer