> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Resource: Operations # Type: Operation Object # Link: https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/operations/operation-object.md ## Description: 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. ## Schema: ```json Type: Operation Object | type: Operation Description: 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. - name: id | type: string | description: Operation ID. - name: value | type: string | description: - name: revision | type: string | description: Revision number. Increments by 1 each time the operation is updated. To prevent conflicting changes, the existing `revision` must be specified when updating an operation. - name: value | type: string | description: - name: createdDate | type: string | description: Date and time the operation was created. - name: seconds | type: string | description: - name: nanos | type: number | description: - name: updatedDate | type: string | description: Date and time the operation was updated. - name: name | type: string | description: Operation name. - name: default | type: boolean | description: Whether the operation is the default operation.
Default: `false`. - name: value | type: boolean | description: - name: fulfillmentIds | type: Array | description: IDs of the fulfillment methods ([SDK](https://dev.wix.com/docs/sdk/backend-modules/restaurants/wix-restaurants-new/fulfillment-methods/introduction.md) | [REST](https://dev.wix.com/docs/rest/api-reference/wix-restaurants/fulfillment-methods/introduction.md)) associated with the operation. - name: onlineOrderingStatus | type: string | description: Online ordering status of the operation.
enum: UNDEFINED_ONLINE_ORDERING_STATUS, ENABLED, DISABLED, PAUSED_UNTIL - name: defaultFulfillmentType | type: string | description: Default fulfillment type of the operation. enum: PICKUP, DELIVERY - name: orderScheduling | type: OrderScheduling | description: Information about when an order can be placed for. - name: type | type: string | description: Scheduling type.
- When `ASAP`, `asapOptions` is a required field. - When `PREORDER`, `preorderOptions` is a required field. enum: ASAP, PREORDER - name: operationGroupId | type: string | description: ID of the operation group this operation belongs to. - name: businessLocationId | type: string | description: ID of the business location ([SDK](https://dev.wix.com/docs/sdk/backend-modules/restaurants/wix-restaurants-new/about-business-locations.md) | [REST](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/about-business-locations.md)) of this operation. - name: extendedFields | type: ExtendedFields | description: Extended fields. - name: namespaces | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured. You can only access fields for which you have the appropriate permissions. Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md). - name: tags | type: Tags | description: Tags ([SDK](https://dev.wix.com/docs/sdk/backend-modules/tags/tags/introduction.md) | [REST](https://dev.wix.com/docs/rest/business-management/tags/introduction.md)) used to classify and sort different types of operations. - name: privateTags | type: TagList | description: Tags that require an additional permission in order to access them, normally not given to site members or visitors. - name: tagIds | type: Array | description: List of tag IDs - name: tags | type: TagList | description: Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. ```