Appointment, bookable appointment and slots operations
PerfectGym Next Open API
/API reference
/- Add a new access medium to a customer
Get customers
Get customer's checkin history
Get customer by id
Get customer by
Search customers
Get customer's contracts
Get customer's measurement
Get customer's contract by id
Get customer's contracts by
Save weighing results
Get customer's benefits
Get customer's benefits by
Post customer's benefit usage
Post customer's benefit usage by
Get customer's access code
Add a new access medium to a customer
Update customer's access medium
Delete customer's access medium
Returns all documents for a customer
Upload new document to a customer
Returns document for a customer
Update customer profile image
Set customer's access restriction
Delete customer's access restriction
Create customer
Get additional information fields
Sets additional information field assignments
Switch studio
Archive customer
Anonymise archived customer
Join family contract
Leave family contract
Replace legal representative
Create a manual checkin for a customer studio
Create a manual checkout for a customer in studio
Add a new access medium t...
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
Download OpenAPI description
Languages
Servers
Demo tenant
https://open-api-demo.open-api.perfectgym.com/
Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/checkout
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/checkout
- 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}/checkout' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"checkOutDateTime": "2023-12-03T10:16:30+01:00"
}'Bodyapplication/jsonrequired
Represents a type of access medium
| Enum Value | Description |
|---|---|
| PIN | Personal identification number |
| BARCODE | Barcode content |
| WALLET_PASS | Wallet pass identifier |
| CARD_NUMBER | Card number |
Example: "CARD_NUMBER"
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/access-medium
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/access-medium
- 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}/access-medium' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"id": 1234567890,
"type": "CARD_NUMBER",
"value": "string"
}'Response
application/json
{ "id": 1234567890, "type": "CARD_NUMBER", "value": "string" }