POST
/
rewards_programs

Authorizations

Authorization
string
headerrequired

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

Body

application/json
points_earned_per_dollar_spent
integer

The number of points earned per dollar spent

point_redemption_value
string

The value of a single point in dollars

points_for_member_class_attendance
integer

The number of points earned for attending a class

points_for_referring_new_student
integer

The number of points earned for referring a new student

points_for_referring_new_student_that_signs_up
integer

The number of points earned for referring a new student that signs up

points_for_every_ten_classes_non_member
integer

The number of points earned for every ten classes attended

points_for_first_visit_in_three_months
integer

The number of points earned for first visit in three months

Response

200 - application/json
id
string
required

The ID of the rewards program

points_earned_per_dollar_spent
integer
required

The number of points earned per dollar spent

point_redemption_value
string
required

The value of a single point in dollars

points_for_member_class_attendance
integer
required

The number of points earned for attending a class

points_for_referring_new_student
integer
required

The number of points earned for referring a new student

points_for_referring_new_student_that_signs_up
integer
required

The number of points earned for referring a new student that signs up

points_for_every_ten_classes_non_member
integer
required

The number of points earned for every ten classes attended

points_for_first_visit_in_three_months
integer
required

The number of points earned for first visit in three months