Introduction

The Operations API allows you to manage operations at restaurants. An operation refers to different services a restaurant may offer. 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.

Operations shouldn't be created or deleted manually. They are automatically created when operation groups and business locations are created, and deleted when their associated operation group is deleted.

Operations are automatically assigned to operation groups and business locations. These assignments can't be changed.

For more information about how operations are created and assigned to operation groups and business locations, see About the Operation Groups API.

With the Operations API, you can:

  • Retrieve and query existing operations.
  • Update existing operations.
  • Calculate available time slots for order fulfillment.
  • Calculate available dates for order fulfillment.

Before you begin

  • This API requires Wix Restaurants Orders (New) to be installed on the site calling the API. If you are using this API in an app, add Wix Restaurants Orders (New) as an app dependency.

Terminology

  • Operation: Restaurant service that includes various aspects of its online ordering.
  • Scheduling: Time-related aspects of order placement.
  • Fulfillment methods: Ways in which a restaurant can provide orders to its customers. See Fulfillment Methods.
  • Time slot: A specific time window when orders can be fulfilled for pickup or delivery.
  • Fulfillment type: The method by which an order is fulfilled. This can be either PICKUP or DELIVERY. For more information, see Fulfillment Methods.
  • Service fees rule: A rule that defines when a fee is applied to an order and the amount of that fee. See Service Fees.
Did this help?