Appointment, bookable appointment and slots operations
- Anonymise archived customer
PerfectGym Next API (1.20.1)
- Appointment, bookable appointment and slots operations
- Redeem checkin vouchers
- Class and slots operations
- Cross studio operations
- Get customers and contracts
- Retrieve customer accounting details
- Retrieve customer communication details
- Retrieve customer transaction details
- Get device information
- Employee operations
- Debt collection operations
- Leads operations
- Get member lists
- Manage membership contracts
- Membership operations
- Online offer operations
- Payment operations
- Get studio information
- Get trial offers information
https://open-api-demo.open-api.perfectgym.com/
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/archive
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/archive
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/archive' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/anonymise
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/anonymise
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/anonymise' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'The unique code which is necessary for joining a family contract
Relationship type between a customer and a family contract
| Enum Value | Description |
|---|---|
| PARTNER | The customer is a partner |
| FRIEND | The customer is a friend |
| PARENT | The customer is a parent |
| SPOUSE | The customer is a spouse |
| CHILD | The customer is a child |
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/join-family-contract
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/join-family-contract
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/join-family-contract' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"code": "DSV12-578945",
"relationshipType": "PARTNER"
}'