Appointment, bookable appointment and slots operations
- Update customer's access medium
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/
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 |
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/access-mediums
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/access-mediums
- 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}/access-mediums' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"id": 1234567890,
"type": "CARD_NUMBER",
"value": "string"
}'{ "id": 1234567890, "type": "CARD_NUMBER", "value": "string" }
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/access-mediums/{accessMediumId}
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/access-mediums/{accessMediumId}
- 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-mediums/{accessMediumId}' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"value": "string"
}'{ "id": 1234567890, "type": "CARD_NUMBER", "value": "string" }
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/access-mediums/{accessMediumId}
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/access-mediums/{accessMediumId}
- 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}/access-mediums/{accessMediumId}' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'