Skip to main content
PUT
/
subjects
/
{subject_id}
Update subject
curl --request PUT \
  --url 'https://partner-api.ochy-prod.com/subjects/{subject_id}?apiKey=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Jane Smith-Williams",
  "weight": 63
}
'
{
  "message": "Subject updated"
}

Authorizations

apiKey
string
query
required

Your API key, passed as a query parameter on every request.

Path Parameters

subject_id
string
required

Subject ID.

Body

application/json

Only provided fields are updated. Omitted fields remain unchanged. Height is in meters, weight is in kilograms.

email
string
Example:

"newemail@example.com"

name
string
Example:

"Jane Smith-Williams"

height
number

Subject height in meters.

Example:

1.73

weight
number

Subject weight in kilograms.

Example:

63

Response

Subject updated.

message
string