Update a food
Updates a food item in the store.
WRITE_INVENTORY scope.Authorizations
Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.
Path Parameters
ObjectId of the food item to update.
Body
Food name (max 100 chars).
Price (>= 0).
Food description.
Promotional price (>= 0); nullable.
Array of image URLs.
Video URL; nullable.
Category ObjectId; nullable.
Whether the item is available to order.
Whether the item is listed on the menu.
Add-ons array (replaces existing). Each: name (required), price (required), maxQuantity, image, available, description.
Response
Update a food — success.
200
true
"Update a food"
A restaurant menu item.
{
"_id": "66a2a1c4e1b3a40012cd1001",
"name": "Margherita Pizza",
"description": "Tomato, mozzarella, basil",
"price": 13,
"promoPrice": null,
"images": ["https://cdn.salesive.com/f/margherita.jpg"],
"category": "66a2a0aae1b3a40012cd0001",
"available": false,
"listed": true,
"addons": [],
"shop": "66a1eee0e1b3a40012ab0001",
"updatedAt": "2026-06-28T09:25:00.000Z"
}
