GET

Get Operation


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves an operation.

Permissions
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/restaurants-operations/v1/operations/{operationId}

Path Params
operationIdstringRequired

ID of the operation to retrieve.

Response Object
operationOperation

Retrieved operation.

Retrieve an operation
Request
cURL
curl -X GET https://www.wixapis.com/restaurants-operations/v1/operations/48605ac5-53fc-49b4-96b2-87f7636f5ce0 \ -H 'Authorization: <AUTH>'
Response
JSON
{ "operation": { "id": "48605ac5-53fc-49b4-96b2-87f7636f5ce0", "revision": "4", "createdDate": "2023-11-27T06:51:54.146Z", "updatedDate": "2023-12-03T13:18:04.382Z", "name": "Asap operation", "enabled": true, "orderScheduling": { "type": "ASAP", "asapOptions": { "preparationTime": { "type": "MAX_TIME", "maxTimeOptions": { "timeUnit": "MINUTES", "duration": 30 } }, "asapFutureHandlingType": "BUSINESS_DAYS_AHEAD_HANDLING", "businessDaysAheadHandlingOptions": { "daysCount": 0 } } }, "profileId": "ad6994d5-a1c5-476d-b39f-c78d3a5444cb", "default": true, "fulfillmentIds": [ "12590791-d0d9-418f-a226-a7dcfd37b507", "71831b22-a043-4998-a10d-01bf9f2472f2", "642dd960-ab45-4eac-ab64-de0ad2215fe0", "32e82c15-f518-44e3-800f-406f13f9bb2e" ], "serviceFeeRuleIds": [], "onlineOrderingStatus": "ENABLED" } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?