Owneat Technical Guide main Help

Add a menu to a restaurant.

PUT method/api/v1/Restaurants/{restaurantGuid}/menus/{menuGuid}

Request parameters

Responses

{ "id": "b80bb774-0288-3da1-b201-890375a60c8f", "createdAt": "1998-11-02T21:37:14Z", "updatedAt": "2011-11-10T04:49:59Z", "name": "example", "description": "example", "displayImageUrl": "example", "paymentPlatformId": "example", "isOnPaymentPlatform": true, "isPaymentModuleEnabled": false, "isChargesEnabled": true, "isInPrePaymentMode": false, "address": { "street": "example", "city": "example", "state": "example", "country": "example", "zipCode": "example" }, "menus": [ { "id": "b80bb774-0288-3da1-b201-890375a60c8f", "createdAt": "1998-11-02T21:37:14Z", "updatedAt": "2011-11-10T04:49:59Z", "name": "example", "restaurantId": "f459eb7f-8954-39fb-b7ad-424937beb163", "states": "Active", "sortingIndex": 66, "categories": [ { "id": "b80bb774-0288-3da1-b201-890375a60c8f", "createdAt": "1998-11-02T21:37:14Z", "updatedAt": "2011-11-10T04:49:59Z", "name": "example", "menuId": "60017790-4236-36f9-8775-f982d688ef7e", "restaurantId": "f459eb7f-8954-39fb-b7ad-424937beb163", "period": "0", "isFormulaSpecific": true, "sortingIndex": 66, "products": [ { "id": "b80bb774-0288-3da1-b201-890375a60c8f", "createdAt": "1998-11-02T21:37:14Z", "updatedAt": "2011-11-10T04:49:59Z", "name": "example", "description": "example", "displayImageUrl": "example", "unitPrice": 99.0, "sortingIndex": 66, "isAvailable": false, "categoryId": "88be62cc-bc28-31ce-9008-4c1356d22820", "restaurantId": "f459eb7f-8954-39fb-b7ad-424937beb163", "externalPaymentId": "example", "discriminator": "example", "vatRate": "0", "categoryProductData": { "categoryName": ..., "servingPeriod": ... }, "stock": 18, "ingredients": [ ... ], "allergens": [ ... ], "foodLabels": [ ... ], "personalizations": [ ... ], "isOutOfStock": false, "isStockManagementEnabled": true } ], "formulas": [ { "id": "b80bb774-0288-3da1-b201-890375a60c8f", "createdAt": "1998-11-02T21:37:14Z", "updatedAt": "2011-11-10T04:49:59Z", "name": "example", "description": "example", "displayImageUrl": "example", "unitPrice": 99.0, "sortingIndex": 66, "isAvailable": false, "categoryId": "88be62cc-bc28-31ce-9008-4c1356d22820", "restaurantId": "f459eb7f-8954-39fb-b7ad-424937beb163", "externalPaymentId": "example", "discriminator": "example", "sections": [ ... ] } ] } ] } ], "openingHours": [ { "id": "b80bb774-0288-3da1-b201-890375a60c8f", "createdAt": "1998-11-02T21:37:14Z", "updatedAt": "2011-11-10T04:49:59Z", "dayOfWeek": "0", "timeRanges": [ { "id": "b80bb774-0288-3da1-b201-890375a60c8f", "createdAt": "1998-11-02T21:37:14Z", "updatedAt": "2011-11-10T04:49:59Z", "openTime": { "ticks": 62, "days": 83, "hours": 71, "milliseconds": 82, "microseconds": 59, "nanoseconds": 57, "minutes": 55, "seconds": 67, "totalDays": 57.0, "totalHours": 85.0, "totalMilliseconds": 18.0, "totalMicroseconds": 1.0, "totalNanoseconds": 55.0, "totalMinutes": 99.0, "totalSeconds": 85.0 }, "closeTime": { "ticks": 62, "days": 83, "hours": 71, "milliseconds": 82, "microseconds": 59, "nanoseconds": 57, "minutes": 55, "seconds": 67, "totalDays": 57.0, "totalHours": 85.0, "totalMilliseconds": 18.0, "totalMicroseconds": 1.0, "totalNanoseconds": 55.0, "totalMinutes": 99.0, "totalSeconds": 85.0 } } ] } ], "restaurantEvents": [ { "id": "b80bb774-0288-3da1-b201-890375a60c8f", "createdAt": "1998-11-02T21:37:14Z", "updatedAt": "2011-11-10T04:49:59Z", "title": "example", "description": "example", "displayImageUrl": "example", "isActive": true, "titleColor": 1, "sortingIndex": 66, "restaurantId": "f459eb7f-8954-39fb-b7ad-424937beb163" } ] }
{ "type": "example", "title": "example", "status": 50, "detail": "example", "instance": "example" }
{ "type": "example", "title": "example", "status": 50, "detail": "example", "instance": "example" }
{ "type": "example", "title": "example", "status": 50, "detail": "example", "instance": "example" }
{ "type": "example", "title": "example", "status": 50, "detail": "example", "instance": "example" }
{ "type": "example", "title": "example", "status": 50, "detail": "example", "instance": "example" }
Last modified: 21 May 2024