Endpoint
Authentication
This endpoint requires authentication and store employee authorization.Request
This endpoint acceptsmultipart/form-data for image uploads.
Path parameters
MongoDB ObjectId of the menu item to update
Headers
Bearer token for authentication
Must be
multipart/form-dataBody parameters
All body parameters are optional. Only include the fields you want to update.Name of the menu item. Will be trimmed of whitespace.
Price of the menu item. Must be a positive number (minimum 0).
Description of the menu item. Pass empty string or null to clear.
Category for the menu item. Pass empty string or null to clear.
Availability status. Accepts boolean or string “true”/“false”.
New image file for the menu item. This will replace the existing image.
Response
Indicates if the request was successful
Human-readable message describing the result
Contains the updated menu item data
The updated menu item object
Unique identifier for the menu item
ID of the store this item belongs to
Name of the menu item
Description of the menu item
Price of the menu item
URL to the menu item image
Category of the menu item
Availability status
ISO 8601 timestamp of creation
ISO 8601 timestamp of last update