Appointment, bookable appointment and slots operations
PerfectGym Next API (1.11.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
- Get device information
- Employee operations
- Debt collection operations
- Leads operations
- Manage membership contracts
- Membership 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}/self-service/contact-data
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/self-service/contact-data
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/self-service/contact-data' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'OK
Status of the amendment configuration.
| Enum Value | Description |
|---|---|
| READ | No changes to data are possible. |
| CHANGES_REQUIRE_VERIFICATION | Data can be changed, but needs verification to be applied to the customer. |
| CHANGES_WITHOUT_VERIFICATION | Data can be changed, will be applied to the customer with immediate effect. |
{ "email": "email@example.com", "phonePrivate": "+49 00000000", "phonePrivateMobile": "+49 00000000000", "phoneBusiness": "+49 00000000", "phoneBusinessMobile": "+49 00000000000", "amendmentConfigurationStatus": "CHANGES_REQUIRE_VERIFICATION", "pendingAmendment": { "id": 0, "email": "email@example.com", "phonePrivate": "+49 00000000", "phonePrivateMobile": "+49 00000000000", "phoneBusiness": "+49 00000000", "phoneBusinessMobile": "+49 00000000000" } }
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/self-service/contact-data
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/self-service/contact-data
- 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}/self-service/contact-data' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"email": "email@example.com",
"phonePrivate": "+49 00000000",
"phonePrivateMobile": "+49 00000000000",
"phoneBusiness": "+49 00000000",
"phoneBusinessMobile": "+49 00000000000"
}'{ "id": 0, "email": "email@example.com", "phonePrivate": "+49 00000000", "phonePrivateMobile": "+49 00000000000", "phoneBusiness": "+49 00000000", "phoneBusinessMobile": "+49 00000000000" }
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/self-service/address-data
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/self-service/address-data
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/self-service/address-data' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'OK
Additional address information of the customer's address
Status of the amendment configuration.
| Enum Value | Description |
|---|---|
| READ | No changes to data are possible. |
| CHANGES_REQUIRE_VERIFICATION | Data can be changed, but needs verification to be applied to the customer. |
| CHANGES_WITHOUT_VERIFICATION | Data can be changed, will be applied to the customer with immediate effect. |
{ "street": "Am Bahnhof", "houseNumber": "90", "zipCode": "12133", "city": "Munich", "countryCode": "DE", "province": "Madrid/California", "provinceCode": "MD/CA", "secondStreet": "Second Street", "cityPart": "Tegel", "district": "District 12", "streetType": "Avenue", "streetBlock": "5th block", "portal": "Portal 1", "stairway": "Right stairway", "door": "Door 1", "additionalAddressInformation": "Additional information", "floor": "2nd floor", "buildingName": "Empire State Building", "amendmentConfigurationStatus": "CHANGES_REQUIRE_VERIFICATION", "pendingAmendment": { "id": 0, "street": "Am Bahnhof", "houseNumber": "90", "zipCode": "12133", "city": "Munich", "countryCode": "DE", "province": "Madrid/California", "provinceCode": "MD/CA", "secondStreet": "Second Street", "cityPart": "Tegel", "district": "District 12", "streetType": "Avenue", "streetBlock": "5th block", "portal": "Portal 1", "stairway": "Right stairway", "door": "Door 1", "additionalAddressInformation": "Additional information", "floor": "2nd floor", "buildingName": "Empire State Building" } }
Requested changes for address data
Additional address information of the customer's address
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/self-service/address-data
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/self-service/address-data
- 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}/self-service/address-data' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"street": "Am Bahnhof",
"houseNumber": "90",
"zipCode": "12133",
"city": "Munich",
"countryCode": "DE",
"province": "Madrid/California",
"provinceCode": "MD/CA",
"secondStreet": "Second Street",
"cityPart": "Tegel",
"district": "District 12",
"streetType": "Avenue",
"streetBlock": "5th block",
"portal": "Portal 1",
"stairway": "Right stairway",
"door": "Door 1",
"additionalAddressInformation": "Additional information",
"floor": "2nd floor",
"buildingName": "Empire State Building"
}'{ "id": 0, "street": "Am Bahnhof", "houseNumber": "90", "zipCode": "12133", "city": "Munich", "countryCode": "DE", "province": "Madrid/California", "provinceCode": "MD/CA", "secondStreet": "Second Street", "cityPart": "Tegel", "district": "District 12", "streetType": "Avenue", "streetBlock": "5th block", "portal": "Portal 1", "stairway": "Right stairway", "door": "Door 1", "additionalAddressInformation": "Additional information", "floor": "2nd floor", "buildingName": "Empire State Building" }
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/self-service/master-data
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/self-service/master-data
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/self-service/master-data' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'OK
Gender of the customer
| Enum Value | Description |
|---|---|
| MALE | Male gender of the customer |
| FEMALE | Female gender of the customer |
| UNISEX | Unisex gender of the customer |
Title of the customer
| Enum Value | Description |
|---|---|
| NONE | No title |
| PROF | Professor title |
| DR | Ph.D. title |
Status of the amendment configuration.
| Enum Value | Description |
|---|---|
| READ | No changes to data are possible. |
| CHANGES_REQUIRE_VERIFICATION | Data can be changed, but needs verification to be applied to the customer. |
| CHANGES_WITHOUT_VERIFICATION | Data can be changed, will be applied to the customer with immediate effect. |
{ "firstName": "Edgar", "lastName": "Bullock", "gender": "MALE", "dateOfBirth": "1952-05-04", "countryOfBirth": "DE", "customerTitle": "DR", "amendmentConfigurationStatus": "CHANGES_REQUIRE_VERIFICATION", "pendingAmendment": { "id": 0, "firstName": "Edgar", "lastName": "Bullock", "gender": "MALE", "dateOfBirth": "1952-05-04", "countryOfBirth": "DE", "customerTitle": "DR" } }
Requested changes for master data
Gender of the customer
| Enum Value | Description |
|---|---|
| MALE | Male gender of the customer |
| FEMALE | Female gender of the customer |
| UNISEX | Unisex gender of the customer |
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/self-service/master-data
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/self-service/master-data
- 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}/self-service/master-data' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"firstName": "Edgar",
"lastName": "Bullock",
"gender": "MALE",
"dateOfBirth": "1952-05-04",
"countryOfBirth": "DE",
"customerTitle": "DR"
}'{ "id": 0, "firstName": "Edgar", "lastName": "Bullock", "gender": "MALE", "dateOfBirth": "1952-05-04", "countryOfBirth": "DE", "customerTitle": "DR" }
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/self-service/payment-data
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/self-service/payment-data
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/self-service/payment-data' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'OK
Status of the amendment configuration.
| Enum Value | Description |
|---|---|
| READ | No changes to data are possible. |
| CHANGES_REQUIRE_VERIFICATION | Data can be changed, but needs verification to be applied to the customer. |
| CHANGES_WITHOUT_VERIFICATION | Data can be changed, will be applied to the customer with immediate effect. |
{ "accountHolder": "Sven Hannawald", "bankName": "Deutsche Bank", "iban": "DE91 1000 0000 0123 4567 89", "bic": "DEUTDEFFXXX", "requireSignature": true, "amendmentConfigurationStatus": "CHANGES_REQUIRE_VERIFICATION", "pendingAmendment": { "id": 0, "accountHolder": "Sven Hannawald", "bankName": "Deutsche Bank", "iban": "DE91 1000 0000 0123 4567 89", "bic": "DEUTDEFFXXX", "requireSignature": true } }
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/self-service/payment-data
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/self-service/payment-data
- 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}/self-service/payment-data' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"accountHolder": "Sven Hannawald",
"bankName": "Deutsche Bank",
"iban": "DE91 1000 0000 0123 4567 89",
"bic": "DEUTDEFFXXX",
"signature": {
"base64SvgSignature": "string"
}
}'{ "id": 0, "accountHolder": "Sven Hannawald", "bankName": "Deutsche Bank", "iban": "DE91 1000 0000 0123 4567 89", "bic": "DEUTDEFFXXX", "requireSignature": true }
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/self-service/amendment/{amendmentId}
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/self-service/amendment/{amendmentId}
- 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}/self-service/amendment/{amendmentId}' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'