v1
latestOpenAPI 3.0.02026-07-24226294602.4 KBMembership Location
Remove locations from a Membership
Remove locations from a Membership.
delete/memberships/{membership_id}/locations
Path parameters
membership_idinteger required
membership identifier.
Headers
x-api-keystring required
A valid API key. If you don't have one, please request one through the Web Integrations screen.
Request body
Example request
{
"location_ids": [
1234567891234567
]
}Response
membership found
Example response
{
"id": 1234567891234567,
"client_id": 1234567891234567,
"membership_template_id": 1234567891234567,
"renewed_from_membership_id": 1234567891234567,
"location_of_sale_id": 1234567891234567,
"start_date": "2014-12-31",
"end_date": "2014-12-31",
"attendance_limit_type_id": 1234567891234567,
"expiration_type_id": 1234567891234567,
"expiration_date": "2014-12-31",
"original_expiration_date": "2014-12-31",
"revenue_category_id": 1234567891234567,
"contract_signed_on_date": "2014-12-31T23:59:59.938Z",
"tax_rate_id": 1234567891234567,
"tax_rate": 0.1,
"service_id": 1234567891234567,
"service_duration_id": 1234567891234567,
"payment_plan": {
"auto_renew_stop_date": "2014-12-31",
"initial_payment_option": {
"payment_option_template_id": 1234567891234567,
"payment_option_type_id": 1234567891234567,
"cost": 0.1,
"setup_fee": 0.1,
"administrative_fee": 0.1,
"tax": 0.1,
"total_discount": 0.1,
"total": 0.1
},
"renewal_payment_option": {
"payment_option_template_id": 1234567891234567,
"payment_option_type_id": 1234567891234567,
"cost": 0.1,
"setup_fee": 0.1,
"administrative_fee": 0.1,
"tax": 0.1,
"total_discount": 0.1,
"total": 0.1
}
},
"membership_discounts": [
{
"id": 1234567891234567,
"discount_id": 1234567891234567,
"discount_type_id": 1234567891234567,
"discount_percentage": 0.1,
"discount_flat_amount": 0.1
}
],
"membership_holds": [
{
"id": 1234567891234567,
"start_date": "2014-12-31",
"end_date": "2014-12-31"
}
],
"scheduled_deactivation_date": "2014-12-31",
"created": {
"created_by_id": 1234567891234567,
"created_on_datetime": "2014-12-31T23:59:59.938Z"
},
"updated": {
"updated_by_id": 1234567891234567,
"updated_on_datetime": "2014-12-31T23:59:59.938Z"
}
}