Add a business location ID to a webhook endpoint.
Enables a webhook for the specified business location. Required to receive item availability notifications (type 'item'). Not required for 'order' and 'payment' webhooks.
PUT
/o/wh/1/webhook/{endpointId}/business-locations/{businessLocationId}
curl \
--request PUT 'https://api.trial.lsk.lightspeed.app/o/wh/1/webhook/endpoint/business-locations/45454565682155' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"businessLocationId": 45454565682155,
"createdAt": "2023-11-07T19:15:05.043+0000",
"updatedAt": "2023-11-07T19:15:05.043+0000"
}