Order and Pay: Webhook
Add a Business Location to a Webhook
Changed onEnables 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}
Request
- Base URLhttps://api.trial.lsk.lightspeed.app
- URLhttps://api.trial.lsk.lightspeed.app/o/wh/1/webhook/{endpointId}/business-locations/{businessLocationId}
- AuthOAuth 2Authorization code: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/authToken URL: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/token scopes: orders-api
Path parameters
endpointIdstring required
Example:endpoint
businessLocationIdinteger required
The unique identifier for the business location.
Example:45454565682155
Response
OK
Example response
{
"businessLocationId": 45454565682155,
"createdAt": "2023-11-07T19:15:05.043+0000",
"updatedAt": "2023-11-07T19:15:05.043+0000"
}Changes
- info
endpoint added
- info