Skip to main content
GET
/
menu
/
product
Get product
curl --request GET \
  --url https://app.xmenu.it/api/menu/product \
  --header 'X-Api-Key: <api-key>'
{
"success": true,
"product": {
"uid": "<string>",
"category_uid": "<string>",
"name": "<string>",
"ingredients": "<string>",
"price": 123,
"prices_table": {},
"image": "<string>",
"url": "<string>",
"hidden": true,
"position": 123,
"subrestaurant_uids": [
"<string>"
],
"ext_id": "<string>",
"inherits_options": "<string>",
"options": [
{
"uid": "<string>",
"name": "<string>",
"short_name": "<string>",
"type": "single",
"min_selectable": 123,
"max_selectable": 123,
"max_quantity": 123,
"note": "<string>",
"hidden": true,
"position": 123,
"primary": true,
"first_default": true,
"show_caption": true,
"print_caption": true,
"subrestaurant_uids": [
"<string>"
],
"ext_id": "<string>",
"option_values": [
{
"uid": "<string>",
"name": "<string>",
"short_name": "<string>",
"price_operator": "+",
"price_operand": 123,
"hidden": true,
"position": 123,
"checked_default": true,
"subrestaurant_uids": [
"<string>"
],
"ext_id": "<string>"
}
]
}
]
},
"error": "<string>",
"message": "<string>"
}

Authorizations

X-Api-Key
string
header
required

Restaurant API Key. Can be obtained from Tools > API Access in the xMenu dashboard.

Query Parameters

uid
string
required

Unique product identifier

Response

Product response

success
boolean
required

Operation result: true if successful, false if failed

product
object

Menu product

error
string

Error code if the operation failed. Possible values:

  • PRODUCT_NOT_FOUND = Requested product not found

See Error codes for general error codes that may also occur.

message
string

Human-readable error description if the operation failed