# Update an appointment **PATCH /appointments/{id}** Update an appointment by its ID ## Servers - https://api.development.pexipengage.com/enterprises/acme: https://api.development.pexipengage.com/enterprises/acme () ## Authentication methods - O auth2 ## Parameters #### Headers - **Authorization** (string) Bearer token used for authorization - **X-Correlation-Id** (string) Unique identifier to allow referencing a particular transaction or event chain - **Accept-Language** (string) Returns the requested resources translated according to the passed languages (see [translatable resources](../topic/topic-languages-translations\#topic-translatable-resources)) #### Path parameters - **id** (string) Primary identifier of the requested resource ## Body parameters Content-type: application/json - **appointmentParticipants** (array[object] | null) - **answers** (array[object] | null) - **callbackRequestId** (string | null) - **location** (object | null) - **listingId** (string | null) - **leadSegmentId** (string | null) - **meetingRoomId** (string | null) - **externalId** (string | null) - **internalNotes** (string | null) - **metadata** (object | null) - **userCommunication** (object | null) ## Responses ### 200: Successful operation #### Body Parameters: application/json (object) - **data** (object) ### 404: Resource not found #### Body Parameters: application/json (object) - **errors** (array[object]) ### 422: Business validation failed * `ANSWER_SELECTED_OPTIONS_FOR_NON_SELECTION_TYPE` * `ANSWER_VALUE_FOR_SELECTION_TYPE` * `APPOINTMENT_LOCATION_REQUIRED` * `APPOINTMENT_PARTICIPANTS_NOT_UNIQUE` * `APPOINTMENT_PRIMARY_CUSTOMER_MISSING` * `APPOINTMENT_PRIMARY_EMPLOYEE_MISSING` * `APPOINTMENT_PRIMARY_PARTICIPANT_ADDED_OR_REMOVED` * `LOCATION_GEOCODING_FAILED` * `LOCATION_TIME_ZONE_RESOLUTION_FAILED` See [Error codes](#topic-error-codes) #### Body Parameters: application/json (object) - **errors** (array[object]) [Powered by Bump.sh](https://bump.sh)