Retrieve Custom Fields configured for Appointments and Booking Users in a Location. Access depends on the Business User's Custom Field permissions.
The literal record and client filter values mean Appointment and Booking User respectively. filter[entity_slug] is a compatibility alias for filter[parent_entity_type].
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v2/openapi/locations/{location_id}/custom_fields
- Productionhttps://api.alteg.io/api/v2/locations/{location_id}/custom_fields
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v2/openapi/locations/{location_id}/custom_fields?filter%5Bparent_entity_type%5D=record&filter%5Bentity_slug%5D=record&include=custom_field_type' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'Response
{ "data": [ { … } ] }