Introduction

The Availability Exceptions API allows you to create and manage availability exceptions for restaurant operations. Availability exceptions are time periods during which the restaurant's Wix site can’t fulfill orders for the operation. An availability exception can block all fulfillment methods during the time period, or only specific fulfillment methods.

For example, you could use availability exceptions to:

  • Offer pickup only on Valentine's Day, by closing all delivery fulfillment methods on that day.
  • Close early on Wednesay, by closing all fulfullment methods after midday that day.
  • Close a restaurant over the summer, by blocking all fulfillment methods for that date range.

With the Availability Exceptions API, you can create and manage availability exceptions.

Before you begin

It’s important to note the following points before starting to code:

  • In order to use this API, the site owner must install the Wix Restaurants Orders (New) app.
  • Each availability exception object requires the operationID of a restaurant's operation.

Terminology

  • Operation: A distinct service that a restaurant offers. For example, a restaurant may offer a takeaway operation and a catering operation, where each one would work with different time frames, availabilities, and fees.
  • Fulfillment method: A method by which a restaurant can serve its customers their orders.
Did this help?