curl --request PATCH \
  --url https://integration.getmateo.com/api/v1/appointment_custom_field \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "appointment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "custom_field_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "now()",
  "updated_at": "now()",
  "organisation_id": "random uuid",
  "key": "<string>",
  "value": "<string>",
  "date_value": "2023-12-25",
  "string_value": "<string>",
  "number_value": 123,
  "boolean_value": true,
  "datetime_value": "<string>",
  "string_list_value": [
    "<string>"
  ]
}'
{
  "appointment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "custom_field_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "now()",
  "updated_at": "now()",
  "organisation_id": "random uuid",
  "key": "<string>",
  "value": "<string>",
  "date_value": "2023-12-25",
  "string_value": "<string>",
  "number_value": 123,
  "boolean_value": true,
  "datetime_value": "<string>",
  "string_list_value": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

select
string

Select columns to return

appointment_id
string

Appointment ID

custom_field_id
string

Custom field ID

created_at
string

Appointment custom field creation date

updated_at
string

Latest update

organisation_id
string

Organisation ID

key
string

Appointment custom field key

value
string

Value of appointment custom field

date_value
string

Date value

string_value
string

String value

number_value
string

Number value

boolean_value
string

Boolean value

datetime_value
string

Datetime value

string_list_value
string

String list value

Body

application/json
appointment_custom_field

The body is of type object.

Response

200
application/json
The updated Appointment Custom Field object

The response is of type object.