Name |
Edit Vetrina Component |
Description |
Allows modifications on restuarant VETRINA |
URL |
restaurant/<int:id> /components/vetrina/edit |
Allowed methods |
POST |
Authorizations |
GET (IsBusiness, IsOwner) |
Edit VETRINA Components information for the given restaurant.
Only the logged owner can make this request.
Name |
Type |
Description |
<int:id> |
integer |
Target restaurant ID |
Name |
Type |
Required |
Unique |
Description |
menu_giorno |
Menu |
no |
no |
Valid Menu ID of a Menu of the restaurant |
show |
bool |
no |
no |
default=False |
Status |
Description |
HTTP_200_OK |
updated |
HTTP_404_NOT_FOUND |
restaurant with this ID not found |
HTTP_400_BAD_REQUEST |
wrong parameters |
HTTP_401_UNAUTHORIZED |
action not authorized |