- Partially update an account
Retrieve an account
Update an account
Delete an account
Upload account image
Delete account image
List member accounts
Create an account
Retrieve an account roles
Set an account roles
Retrieve an account by RFID
Retrieve an account by NFC
Retrieve an account by membership ID
Retrieve an account by email
Partially update an accou...
Partially update an account using accountId. Only non-null fields in the request will be updated. This is optimized for small, incremental changes.
Security
mms
The Member gender. Please note that NON_BINARY is not correctly supported yet, we send it as FEMALE for the usage of the machines.
Enum:"MALE""FEMALE""NON_BINARY"
- Mock serverhttps://developer.egym.com/_mock/mms-api-v2/apis/mms-v2/api/v2/accounts/{accountId}
- Testhttps://mms.api.ed.ts.egym.coffee/api/v2/accounts/{accountId}
- Prodhttps://mms.api.egym.com/api/v2/accounts/{accountId}
curl -i -X PATCH \
'https://developer.egym.com/_mock/mms-api-v2/apis/mms-v2/api/v2/accounts/{accountId}' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"email": "string",
"firstName": "John",
"lastName": "Wick",
"dateOfBirth": "2019-08-24",
"gender": "MALE",
"contact": {
"phone": "string",
"street": "string",
"streetNumber": "string",
"zipCode": "string",
"city": "string",
"state": "string",
"country": "DE"
},
"membership": {
"membershipId": "string",
"agreementNumber": "string",
"membershipType": "BASIC",
"membershipSubType": "string",
"endOfContract": "2019-08-24",
"startOfContract": "2019-08-24",
"referringMemberId": "string",
"barcode": "string"
}
}'