v1
latestOpenAPI 3.1.02026-07-2422707.0 MBList all memberships in a center
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.
get/v1/centers/{center_id}/memberships
Query parameters
center_idstring required
Unique 32-character identifier of the center.
show_in_catalogboolean required
Displays the membership in catalog
expandstring
Lists benefits of the membership
pageinteger
The page number to be viewed
sizeinteger
The number of records per page
Response
200
Example response
{
"memberships": [
{
"id": "13894bfb-7b3d-41a7-b39e-11f615c21733",
"version_id": "8688c362-1a5e-4a4f-8e35-359f61104c40",
"name": "membership offline recurring",
"price": {
"currency_id": 148
},
"is_recurring_membership": true,
"membership_type": 1,
"payment_frequency": " Month"
}
],
"total_no_of_memberships": 6
}