Update Existing Webhook
Updates the details of an existing webhook.
Path parameters
-
The unique identifier for the business location.
-
The unique identifier for the webhook.
PATCH
/staff/v1/businessLocations/{businessLocationId}/webhooks/{webhookId}
curl \
--request PATCH 'https://api.trial.lsk.lightspeed.app/staff/v1/businessLocations/{businessLocationId}/webhooks/{webhookId}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"notificationType":"shift.created","url":"https://example.com","webhookName":"string"}'
Request examples
{
"notificationType": "shift.created",
"url": "https://example.com",
"webhookName": "string"
}
Response examples (200)
{
"uuid": "e95c2cc5-4489-4025-a7e2-a34faeaa5f9d",
"notificationType": "shift.created",
"url": "string",
"webhookName": "My Awesome Webhook",
"businessLocationId": 1234567890,
"createdAt": "2025-05-04T09:42:00Z",
"updatedAt": "2025-05-04T09:42:00Z"
}