# Update Existing Webhook **PATCH /staff/v1/businessLocations/{businessLocationId}/webhooks/{webhookId}** Updates the details of an existing webhook. ## Servers - Demo URL: https://api.trial.lsk.lightspeed.app (Demo URL) - Production URL: https://api.lsk.lightspeed.app (Production URL) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **businessLocationId** (integer(int64)) The unique identifier for the business location. - **webhookId** (string(uuid)) The unique identifier for the webhook. ### Body: application/json (object) - **notificationType** (string) The type of webhook notification. - **url** (string(uri)) The URL for the webhook. - **webhookName** (string) The name for the webhook. ## Responses ### 200 Webhook updated successfully #### Body: application/json (object) - **uuid** (string(uuid)) The unique identifier for the webhook. - **notificationType** (string) The type of webhook notification. - **url** (string) The URL for the webhook. - **webhookName** (string) The name for the webhook. - **businessLocationId** (integer(int64)) 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. ### 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. [Powered by Bump.sh](https://bump.sh)