v1

latestOpenAPI 3.1.02026-08-06911,228852.2 KB
Reservations for Platforms

Error notification

These notifications are sent to the URL provided in theerrorsWebhookUrl field.

postWebhookreservation-serviceReservation error notification

Payload

entityType'business-location' | 'general' | 'platform-profile' | 'platform-restaurant' | 'platform-reservation' required

The type of entity with which the error occurred.

errorCode'PLATFORM_NOT_FOUND' | 'URL_MUST_START_WITH_HTTPS' | 'BEARER_AUTH_TTL_IS_EXPIRED' | 'BASIC_AUTH_FIELDS_CAN_NOT_BE_EMPTY' | 'BEARER_AUTH_FIELDS_CAN_NOT_BE_EMPTY' | 'API_KEY_AUTH_FIELDS_CAN_NOT_BE_EMPTY' | 'OAUTH_FIELDS_CAN_NOT_BE_EMPTY' | 'RESTAURANT_PROPERTIES_REQUIRED' | 'RESTAURANT_PROPERTIES_INVALID' | 'RESTAURANT_PROPERTIES_EXPIRED' | 'INTEGRATION_LOCATION_ID_MISMATCH' | 'PLATFORM_ALREADY_ACTIVATED' | 'CURRENCY_NOT_ACCEPTABLE' | 'PLATFORM_FIELDS_CAN_NOT_BE_EMPTY' | 'PLATFORM_CODE_TOO_MANY_SYMBOLS' | 'REQUESTED_TABLE_IS_UNAVAILABLE' | 'PLATFORM_RESTAURANT_NOT_FOUND' | 'PLATFORM_PROPERTIES_INVALID' | 'PLATFORM_PROPERTIES_DUPLICATION' | 'RESERVATION_FIELDS_CAN_NOT_BE_EMPTY' | 'RESERVATION_ID_TOO_MANY_SYMBOLS' | 'RESERVATION_PARTY_SIZE_ERROR' | 'RESERVATION_SEQUENCE_ID_ERROR' | 'RESERVATION_PROPERTIES_INVALID' | 'GUEST_URL_UNREACHABLE' | 'GUEST_PROPERTIES_INVALID' | 'GUEST_FIELDS_CAN_NOT_BE_EMPTY' | 'VOIDED_DEPOSIT_CAN_NOT_BE_FUNDED_AGAIN' | 'DEPOSIT_AMOUNT_CAN_NOT_BE_CHANGED' | 'DEPOSIT_UNACCEPTABLE_AMOUNT' | 'DEPOSIT_ID_MUST_BE_UNIQUE' | 'VOIDED_REFUND_CAN_NOT_BE_REFUNDED_AGAIN' | 'REFUND_AMOUNT_CAN_NOT_BE_CHANGED' | 'REFUND_ID_MUST_BE_UNIQUE' | 'REFUND_UNACCEPTABLE_AMOUNT' | 'CURRENCY_CAN_NOT_BE_CHANGED' | 'TOO_MANY_DEPOSITS' | 'TOO_MANY_REFUNDS' | 'TOO_MANY_INTEGRATIONS_WITH_PLATFORM' | 'INTERNAL_ERROR' | 'ACCOUNT_CREATION_ERROR' | 'CLIENT_REQUEST_ERROR' | 'INTEGRATION_ONBOARDING_PROPERTIES_INVALID' | 'INTEGRATION_ONBOARDING_NOTIFICATION_FAILED' required

A code that describes the reason for the error.

errorMessagestring required

Error description.

errorPropertiesstring[]

The list of request properties that are incorrect.

httpCodeinteger required

The code of http error (4xx, 5xx) response.

platformCodestring

The unique code assigned to the reservation platform.

platformReservationIdstring

The external platform's unique identifier for the reservation.

platformRestaurantIdstring

The external platform's unique identifier for the restaurant.

traceIdstring required

Unique identifier of the issue.

Example payload

{
  "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"
}

Response

Your server returns this code if it accepts the callback.