v1

latestOpenAPI 3.1.02026-08-064323122.5 KB
Member Account

Partially update an account

Partially update an account using accountId. Only non-null fields in the request will be updated. This is optimized for small, incremental changes.

patch/api/v2/accounts/{accountId}

Path parameters

accountIdstring required

Request body

emailstring

The Member email address. It should be unique within the gym chain.

firstNamestring

The Member first name.

lastNamestring

The Member last name.

dateOfBirthstring date

The Member date of birth. format: yyyy-MM-dd

gender'MALE' | 'FEMALE' | 'NON_BINARY'

The Member gender. Please note that NON_BINARY is not correctly supported yet, we send it as FEMALE for the usage of the machines.

Example request

{
  "firstName": "John",
  "lastName": "Wick",
  "contact": {
    "country": "DE"
  }
}

Response

No Content