---
title: "Add a Business Location to a Webhook"
method: PUT
path: "/o/wh/1/webhook/{endpointId}/business-locations/{businessLocationId}"
tags: ["Order and Pay: Webhook"]
---

# Add a Business Location to a Webhook

`PUT /o/wh/1/webhook/{endpointId}/business-locations/{businessLocationId}`

Enables a webhook for the specified business location.
Required to receive item availability notifications (type 'item').
Not required for 'order' and 'payment' webhooks.

## Path parameters

- `endpointId` string, required
- `businessLocationId` integer, required — The unique identifier for the business location.

## Response `200`

OK

- ApeWebhookEndpointBusinessLocationDto
  - `businessLocationId` integer, required — The unique identifier for the business location.
  - `createdAt` string, date-time — Timestamp when this association was created.
  - `updatedAt` string, date-time — Timestamp when this association was last updated.
  - `warnings` ApeCurrentWarning[] — A list of warnings that occurred during the request, but which did not prevent a successful response. For instance, if the Business Location does not have the required POS app version to support item availability.
    - `information` string
    - `type` string

## Other responses

- `404` — Not Found

---

[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/revisions/fd2e31cf57dd/schema)
