Update appointment
documentedUpdate an existing appointment.
PUT /api/2.0/companies/{companyId}/appointments/{appointmentId}Schedulingno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.agendize.com/api/2.0/scheduling/companies/{{$companyId}}/appointments/{{$appointmentId}}" \
-X PUT \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"client": {"id": "{{$client_id}}", "firstName": "{{$client_first_name}}", "lastName": "{{$client_last_name}}", "email": "{{$client_email}}", "externalId": "{{$client_external_id}}"}, "service": {"id": "{{$service_id}}"}, "resource": {"id": "{{$resource_id}}"}, "start": {"dateTime": "{{$start_datetime}}", "timeZone": "{{$start_timezone}}"}, "end": {"dateTime": "{{$end_datetime}}", "timeZone": "{{$end_timezone}}"}, "staff": {"id": "{{$staff_id}}"}, "notes": "{{$notes}}", "status": "{{$status}}"}'