Get Sample Integration Notification

GET /reservation/api/1/platform/{platform-code}/integration-webhook-sample

Returns an example of an integration notification. These notifications are sent to the URL provided in theintegrationWebhookUrl field.

Path parameters

  • platform-code string Required

    The unique code assigned to the reservation platform.

    Maximum length is 11. Format should match the following pattern: [a-zA-Z0-9_-]+.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • notificationType string Required

      Values are ACTIVATED or DEACTIVATED.

    • platformCode string Required

      The unique code assigned to the reservation platform.

      Maximum length is 11. Format should match the following pattern: [a-zA-Z0-9_-]+.

    • businessLocationId integer(int64) Required

      The K-Series business location ID.

    • platformRestaurantId string Required

      The external platform ID for the restaurant.

      Format should match the following pattern: [a-zA-Z0-9_-]+.

GET /reservation/api/1/platform/{platform-code}/integration-webhook-sample
curl \
 -X GET https://api.lsk.lightspeed.app/reservation/api/1/platform/MyPlatform/integration-webhook-sample \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "notificationType": "ACTIVATED",
  "platformCode": "MyPlatform",
  "businessLocationId": 9765040300495493,
  "platformRestaurantId": "Restaurant-123"
}