Actualizar cita
PATCH
https://api.bydomu.com/v1/appointments/{id}This reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.
Actualiza solo los campos enviados. Para cancelar usa POST /appointments/{id}/cancel.
Permission required
appointments:write
Required header
X-API-Key · secret key
Access level
Level 3 · with support review
Path parameters
1 · requiredidstring · requiredID de la cita
Headers
1 · all optionalIdempotency-Keystring · optionalClave única de la operación (8-128 caracteres de
[a-zA-Z0-9._:-]). Un reintento con la misma clave y el mismo cuerpo devuelve la respuesta original sin repetir la operación. Vive 24 horas.8–128 charsBody (JSON)
12 · all optionaltitlestring · optional2–200 chars
descriptionstring · optional≤ 2000 chars
typestring · optionalSHOWING · MEETING · CALL · FOLLOW_UP · SIGNING · DEMO · OTHER
colorstring · optionalstartTimestring · optionalnullable
endTimestring · optionalnullable
See the other 6 parameters
locationstring · optional≤ 500 chars
contactIdstring · optionaldealIdstring · optionalnullable
assigneeIdstring · optionalstatusstring · optionalSCHEDULED · CONFIRMED · COMPLETED · CANCELLED · NO_SHOW
remindersobject[] · optionalResponse 200
AppointmentRecord · 22 fieldsdataCita tal como queda al crearla, actualizarla o cancelarla.
idstringtitlestringdescriptionstringtypestringSHOWING, MEETING, CALL, FOLLOW_UP, SIGNING, DEMOstatusstringSCHEDULED, CONFIRMED, COMPLETED, CANCELLED, NO_SHOWstartTimestringendTimestringcolorstringlocationstringcreatedAtstringcancelReasonstringsourcestring`MANUAL`, `BOOKING` o `NOA`contactIdstringdealIdstringpropertyIdstringassigneeIdstringcreatedByIdstringupdatedAtstringcontactid · firstName · lastName · phone
idstringfirstNamestringlastNamestringphonestringNo viene al cancelar; `null` si el contacto no tiene teléfonodealid · title
idstringtitlestringassigneeid · firstName · lastName
idstringfirstNamestringlastNamestringreminders[]Recordatorios programados. No vienen al cancelar
idstringchannelstringminutesBeforeintegerscheduledForstringstatusstringPossible errors
shaped as{ "error": { "code", "message" } }- 400Datos inválidos: el cuerpo o la query no cumplen el esquema, o `Idempotency-Key` está mal formada.
- 401UNAUTHORIZED
- 402PAYMENT_REQUIRED
- 403FORBIDDEN
- 404NOT_FOUND
- 409DUPLICATE
- 429RATE_LIMITED
- 500INTERNAL_ERROR