Operation Object


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.

Properties
idstringRead-onlyformat GUID

Operation ID.


revisionintegerRead-onlyformat int64

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.


createdDatestringRead-onlyformat date-time

Date and time the operation was created.


updatedDatestringRead-onlyformat date-time

Date and time the operation was updated.


namestring

Operation name.


defaultboolean

Whether the operation is the default operation.
Default: false.


fulfillmentIdsArray <string>format GUID

IDs of the fulfillment methods associated with the operation.


onlineOrderingStatusstring
4 enum supported values:
UNDEFINED_ONLINE_ORDERING_STATUSENABLEDDISABLEDPAUSED_UNTIL

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.

serviceFeeRuleIdsArray <string>format GUIDmaxItems 500

IDs of the service fee rules associated with the operation.


defaultFulfillmentTypestring
3 enum supported values:
UNDEFINED_FULFILLMENT_TYPEPICKUPDELIVERY

Default fulfillment type of the operation.


orderSchedulingobject

Information about when an order can be placed for.


ONE OF:


pausedUntilOptionsobject

Options for online ordering status. Required when onlineOrderingStatus is PAUSED_UNTIL.

Was this helpful?
Yes
No