get https://api.zenoti.com/v1/centers//memberships
Supply unique identifier of the center as center_id
and this API will retrieve the list of memberships associated with that center if the membership falls within the active sale period.
Response Details
Name | Type | Description |
---|---|---|
memberships | object | Object containing the list of memberships available in the center |
total_no_of_memberships | integer | Total no of memberships |
Membership Object
Name | Type | Description |
---|---|---|
id | guid | unique identifier of the membership |
version_id | guid | unique identifier of the membership version |
name | string | name of the membership |
price | double | price of the template |
can_book | boolean | whether this membership can be booked |
show_price | boolean | whether the price has to be shown |
display_name | string | display name of the membership |
image_paths | dictionary | name-value pairs of membership images containing pixel sizes and location respectively |
is_recurring_membership | boolean | if this membership is a recurring membership |
membership_type | integer | 0-Non-recurring, 1-Recurring, 2-Setup |
first_collection_after | integer | Number of days after which first collection occurs |
description | string | description of the membership |
html_description | string | description of the membership containing html elements |
terms_and_conditions | string | Text containing terms and conditions of the membership |
terms_and_conditions_acceptance | string | Acceptance text of the terms and conditions |
enforce_mandatory_fields | boolean | Enforce mandatory fields in the membership |
payment_frequency | string | In Days Or Months - Frequency of the payment in case of recurring membership |