---
title: "Calendar resource updated"
method: POST
path: "calendar_resource.updated"
tags: ["webhooks"]
---

# Calendar resource updated

`POST calendar_resource.updated` (webhook)

Triggered when an existing calendar resource is updated.

## Payload

- CalendarResourceUpdatedWebhookPayload
  - `data` object, required: Calendar resource represents a provider, room, or similar for a calendar.
    - `calendar.clinic_id` integer, required: The ID of the clinic this resource belongs to.
    - `calendar_id` integer, required: The ID of the calendar this resource belongs to.
    - `can_client_double_book` boolean, required: Whether this resource can be double booked from the client side.
    - `can_double_book` boolean, required: Whether this resource can be double booked from the clinic side.
    - `clinic_user` ExternalCalendarResourceClinicUserSchema, required: Nested schema for the clinic user on a calendar resource.
      - `id` integer, required: The unique identifier for the clinic user.
      - `name` string, required: The display name of the clinic user.
    - `created` string, date-time, required: The datetime this object was created.
    - `deleted` string, date-time, nullable, required: The datetime this record was soft deleted.
    - `id` integer, required: The unique identifier for this calendar resource object.
    - `is_deleted` boolean, required: Whether this record is soft deleted or not.
    - `is_imported` boolean, required: Whether this resource was created via import from the legacy PIMS.
    - `modified` string, date-time, required: The datetime this object was last modified; changes to related entities will not update this field.
    - `name` string, nullable, required: The name of this resource.
  - `type` 'calendar_resource.updated', required: The event type identifier.

## Acknowledgement `200`

Webhook received

---

[API](https://skmtc.dev/vetcove/apis/ninjaapi.md) - [All operations](https://skmtc.dev/vetcove/apis/ninjaapi/llms.txt) - [OpenAPI document](https://skmtc.dev/vetcove/apis/ninjaapi/revisions/4ceaed956e15?raw)
