Endpoint
Authentication
This endpoint requires authentication and store employee authorization.Only store owners can create menu items. The system automatically associates the menu item with the authenticated user’s store.
Request
This endpoint acceptsmultipart/form-data for image uploads.
Headers
Bearer token for authentication
Must be
multipart/form-dataBody parameters
Name of the menu item. Will be trimmed of whitespace.
Price of the menu item. Must be a positive number (minimum 0).
Optional description of the menu item.
Optional category for the menu item (e.g., “Burgers”, “Drinks”, “Desserts”).
Optional image file for the menu item. Accepted formats depend on server configuration.
Response
Indicates if the request was successful
Human-readable message describing the result
Contains the created menu item data
The created 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 (null if not provided)
Price of the menu item
URL to the menu item image (null if not uploaded)
Category of the menu item (null if not provided)
Availability status (defaults to true)
ISO 8601 timestamp of creation
ISO 8601 timestamp of last update