Creates a new membership policy for the requesting practice group.
Security
apiKeyAuth and practiceGroupId
One of:
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/invoicing/membership-policies
- Staginghttps://api.staging.htech.app/v1/invoicing/membership-policies
- Productionhttps://api.herohealth.net/v1/invoicing/membership-policies
curl -i -X POST \
https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/invoicing/membership-policies \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"collection_method": "charge_automatically",
"payment_method": "string",
"membership_scheme_id": "string",
"customer": "string",
"price": "string",
"quantity": 0,
"starts_on": 0,
"billing_cycle_anchor": 0,
"discounts": [
{
"coupon": "string"
}
],
"members": [
{
"patient_id": "string"
}
]
}'Response
{ "id": "string", "practice_group_id": "string", "membership_scheme_id": "string" }