v1
latestOpenAPI 3.0.02026-07-24226294602.4 KBMembership Template Program
Add accessible programs to a Membership Template
Add accessible programs to a Membership Template.
post/memberships/templates/{membership_template_id}/programs
Path parameters
membership_template_idinteger required
Membership Template Id
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
{
"program_ids": [
1234567891234567
]
}Response
Membership Template Data
Example response
{
"id": 1234567891234567,
"membership_type_id": 1234567891234567,
"attendance_type_id": 1234567891234567,
"attendance_limit_type_id": 1234567891234567,
"expiration_type_id": 1234567891234567,
"revenue_category_id": 1234567891234567,
"membership_contract_template_id": 1234567891234567,
"service_id": 1234567891234567,
"service_duration_id": 1234567891234567,
"payment_plan_templates": [
{
"id": 1234567891234567,
"initial_payment_interval_time_unit_id": 1234567891234567,
"initial_commitment_time_unit_id": 1234567891234567,
"monthly_initial_payment_option_template": {
"monthly_initial_payment_option_template_id": 1234567891234567,
"monthly_initial_payment_option_template_type_id": 1234567891234567,
"monthly_initial_payment_option_template_setup_fee": 0.1,
"monthly_initial_payment_option_template_cost": 0.1
},
"pay_in_full_initial_payment_option_template": {
"pay_in_full_initial_payment_option_template_id": 1234567891234567,
"pay_in_full_initial_payment_option_template_type_id": 1234567891234567,
"pay_in_full_initial_payment_option_template_setup_fee": 0.1,
"pay_in_full_initial_payment_option_template_cost": 0.1
},
"renewal_payment_interval_time_unit_id": 1234567891234567,
"renewal_commitment_time_unit_id": 1234567891234567,
"monthly_renewal_payment_option_template": {
"monthly_renewal_payment_option_template_id": 1234567891234567,
"monthly_renewal_payment_option_template_type_id": 1234567891234567,
"monthly_renewal_payment_option_template_cost": 0.1
},
"pay_in_full_renewal_payment_option_template": {
"pay_in_full_renewal_payment_option_template_id": 1234567891234567,
"pay_in_full_renewal_payment_option_template_type_id": 1234567891234567,
"pay_in_full_renewal_payment_option_template_cost": 0.1
},
"payment_plan_template_location_tax_rates": [
{
"location_id": 1234567891234567,
"tax_rate_id": 1234567891234567,
"tax_rate": 0.1,
"tax_rate_type_id": 1234567891234567
}
],
"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"
}
}
],
"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"
}
}