Get Sample Error notification
GET
/reservation/api/1/platform/{platform-code}/error-webhook-sample
Returns an example of error notification sent to the errorsWebhookUrl 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_-]+
.
GET /reservation/api/1/platform/{platform-code}/error-webhook-sample
curl \
-X GET https://api.trial.lsk.lightspeed.app/reservation/api/1/platform/EasyTable/error-webhook-sample \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"errorMessage": "Incorrect properties",
"traceId": "b43f8e3e-5ac9-464e-ab34-20b4e137115e",
"httpCode": 400,
"entityType": "platform-reservation",
"errorCode": "REQUESTED_TABLE_IS_UNAVAILABLE",
"platformCode": "EasyTable",
"platformRestaurantId": "Restaurant-123",
"platformReservationId": "Reservation-123",
"errorProperties": [
"tableNumbers"
]
}