GET

Get Availability Exception


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves an availability exception.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/restaurants-availability-exceptions/v1/availability-exceptions/{availabilityExceptionId}

Path Params
availabilityExceptionIdstringRequired

ID of the availability exception to retrieve.

Response Object
availabilityExceptionAvailabilityException

The requested availability exception.

Retrieve an availability exception
Request
cURL
curl -X GET https://www.wixapis.com/restaurants-availability-exceptions/v1/availability-exceptions/48605ac5-53fc-49b4-96b2-87f7636f5ce0 \ -H 'Authorization: <AUTH>'
Response
JSON
{ "availabilityException": { "id": "63eb0bf7-96ea-4034-822b-7dd9a24197e9", "revision": "1", "createdDate": "2024-07-09T10:17:08.865Z", "updatedDate": "2024-07-09T10:17:08.865Z", "startTime": "2024-07-08T21:00:00.587Z", "endTime": "2024-07-09T20:59:59.587Z", "available": false, "name": "Passover", "affectedFulfillmentMethods": { "affectedMethods": "ALL_FULFILLMENT_METHODS" }, "operationId": "48605ac5-53fc-49b4-96b2-87f7636f5ce0" } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?