Appointment Types
Update Appointment Type by Locator
Updates the appointment type resolved by exactly one of id, key, or external_id within this organisation. Gallery and deleted appointment types are excluded. key cannot be changed; external_id can be changed, so subsequent locator requests must use the new value.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
id?string
Unique identifier for the resource.
Format
uuidkey?string
Stable key used to identify the resource.
Length
1 <= lengthexternal_id?string
Identifier assigned by an external system.
Length
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
name?string
Human-readable name of the resource.
Length
1 <= lengthdescription?|
Human-readable description of the resource.
external_id?|
Identifier assigned by an external system.
emoji?|
Emoji value for this resource.
statuses?array<>
Statuses configured for the resource, in display order.
Items
1 <= itemsResponse Body
application/json
curl -X PATCH "https://api.getmateo.com/v1/appointment-types/by" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "external_id": "string", "key": "string", "emoji": "string", "scheduling_enabled": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}