---
title: "Update Existing Webhook"
method: PATCH
path: "/staff/v1/businessLocations/{businessLocationId}/webhooks/{webhookId}"
tags: ["Staff"]
---

# Update Existing Webhook

`PATCH /staff/v1/businessLocations/{businessLocationId}/webhooks/{webhookId}`

Updates the details of an existing webhook.

## Path parameters

- `businessLocationId` integer, required
- `webhookId` string, uuid, required

## Request body

- StaffApiCreateWebhookRequest
  - `notificationType` 'shift.created' | 'shift.updated' | 'shift.deleted', required — The type of webhook notification.
  - `url` string, uri, required — The URL for the webhook.
  - `webhookName` string, required — The name for the webhook.

## Response `200`

Webhook updated successfully

- StaffApiWebhookDto
  - `uuid` string, uuid — The unique identifier for the webhook.
  - `notificationType` 'shift.created' | 'shift.updated' | 'shift.deleted' — The type of webhook notification.
  - `url` string — The URL for the webhook.
  - `webhookName` string — The name for the webhook.
  - `businessLocationId` integer — The unique identifier for the business location.
  - `createdAt` string, date-time — The creation time of the webhook.
  - `updatedAt` string, date-time — The last update time of the webhook.

## Other responses

- `400` — Bad request. Invalid input parameters.
- `404` — Not found. The specified webhook ID does not exist.
- `409` — Conflict. A webhook with the specified details already exists.

---

[API](https://skmtc.net/lightspeed/apis/lightspeed-restaurant-k-series-api.md) · [All operations](https://skmtc.net/lightspeed/apis/lightspeed-restaurant-k-series-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightspeed/lightspeed-restaurant-k-series-api/versions/fd2e31cf57dd/schema)
