Appointment, bookable appointment and slots operations
- Replace legal representative
Magicline API (1.16.2)
- 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
- Manage membership contracts
- Membership operations
- Online offer operations
- Payment operations
- Get studio information
- Get trial offers information
https://open-api-demo.open-api.magicline.com/
https://redocly.sportalliance.com/_mock/apis/magicline/openapi/openapi/
- Demo tenant
https://open-api-demo.open-api.magicline.com/v1/customers/contracts/{contractId}/leave-family-contract
- Mock server
https://redocly.sportalliance.com/_mock/apis/magicline/openapi/openapi/v1/customers/contracts/{contractId}/leave-family-contract
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://open-api-demo.open-api.magicline.com/v1/customers/contracts/{contractId}/leave-family-contract' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'Type of the legal representative
| Enum Value | Description |
|---|---|
| EXISTING_CUSTOMER | Links an existing customer as legal representative |
| EXTERNAL_PERSON | Creates or updates an external person as legal representative |
Whether the provided legal representative is the only legal guardian
Whether communication and billing should be sent to the legal representative
The first legal representative signature SVG for the contract document
- Demo tenant
https://open-api-demo.open-api.magicline.com/v1/customers/{customerId}/legal-representative
- Mock server
https://redocly.sportalliance.com/_mock/apis/magicline/openapi/openapi/v1/customers/{customerId}/legal-representative
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://open-api-demo.open-api.magicline.com/v1/customers/{customerId}/legal-representative' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"type": "EXTERNAL_PERSON",
"person": {
"firstName": "Erika",
"secondFirstName": "Maria",
"lastName": "Mustermann",
"secondLastName": "Meyer",
"dateOfBirth": "1985-08-24",
"placeOfBirth": "Hamburg",
"countryOfBirth": "DE",
"gender": "MALE",
"email": "legal.rep@example.com",
"phoneNumberPrivate": "+44123456789",
"phoneNumberMobile": "+44987654321",
"street": "Raboisen Street",
"houseNumber": "3-4",
"additionalAddressInformation": "2nd floor",
"city": "Hamburg",
"zipCode": "220-99",
"countryCode": "DE"
},
"customerId": 98765,
"singleParent": true,
"addressToLiablePerson": false,
"legalRepresentativeSignature": {
"base64SvgSignature": "string"
},
"legalRepresentativeSignatureSecondPerson": {
"base64SvgSignature": "string"
}
}'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.magicline.com/v1/customers/{customerId}/access-medium
- Mock server
https://redocly.sportalliance.com/_mock/apis/magicline/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.magicline.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"
}'{ "id": 1234567890, "type": "CARD_NUMBER", "value": "string" }