Get Sample Error Notification
Returns an example of an error notification. These notifications are sent to the URL provided in theerrorsWebhookUrl
field.
Path parameters
-
The unique code assigned to the reservation platform.
Maximum length is
11
. Format should match the following pattern:[a-zA-Z0-9_-]+
.
GET /reservation/api/1/platform/{platform-code}/error-webhook-sample
curl \
-X GET https://api.trial.lsk.lightspeed.app/reservation/api/1/platform/MyPlatform/error-webhook-sample \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"entityType": "platform-reservation",
"errorCode": "REQUESTED_TABLE_IS_UNAVAILABLE",
"errorMessage": "Incorrect properties",
"errorProperties": [
"tableNumbers"
],
"httpCode": 400,
"platformCode": "MyPlatform",
"platformReservationId": "Reservation-123",
"platformRestaurantId": "Restaurant-123",
"traceId": "b43f8e3e-5ac9-464e-ab34-20b4e137115e"
}