This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves a list of availability exceptions given the specified paging, filtering, and sorting. Up to 100 availability exceptions can be returned per request.
For a detailed list of supported operations, see the Supported Filters and Sorting article. To learn how to query availability exceptions, see API Query Language.
You can only call this method when authenticated as a Wix app or Wix user identity.
WQL expression.
List of availability exceptions.
Paging metadata
curl -X POST https://www.wixapis.com/restaurants-availability-exceptions/v1/availability-exceptions/query \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>' \
--data-raw '{
"query": {
"sort": [],
"filter": {
"name": {
"$startsWith": "ASAP"
}
}
}
}'
{
"operations": [
{
"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"
}
]
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.