An operation is a service a restaurant offers that includes various aspects of its online ordering. You can define default fulfillments, service fees, and scheduling requirements for each operation.
Operation ID.
Revision number. Increments by 1 each time the operation is updated.
To prevent conflicting changes,
the existing revision
must be passed when updating an operation.
Date and time the operation was created.
Date and time the operation was updated.
Operation name.
Whether the operation is the default operation.
Default: false
.
IDs of the fulfillment methods associated with the operation.
Online ordering status of the operation.
ENABLED
: Operation currently accepts online orders. DISABLED
: Operation currently does not accept online orders. PAUSED_UNTIL
: Operation currently does not accept online orders, but will accept online orders from a specifed time and date. When applied, pausedUntilOptions
is a required field. UNDEFINED_ONLINE_ORDERING_STATUS
: Online ordering status is not defined.IDs of the service fee rules associated with the operation.
Default fulfillment type of the operation.
Information about when an order can be placed for.
Options for online ordering status. Required when onlineOrderingStatus
is PAUSED_UNTIL
.