GET
/
businesses
/
{id}
/
rewards_program
curl --request GET \
  --url https://api.pocketflows.com/businesses/{id}/rewards_program \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "<string>",
  "points_earned_per_dollar_spent": 123,
  "point_redemption_value": "<string>",
  "points_for_member_class_attendance": 123,
  "points_for_referring_new_student": 123,
  "points_for_referring_new_student_that_signs_up": 123,
  "points_for_every_ten_classes_non_member": 123,
  "points_for_first_visit_in_three_months": 123
}

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 program for the business

The response is of type object.