Skip to main content
POST
/
order
/
confirm
Confirm order
curl --request POST \
  --url https://app.xmenu.it/api/order/confirm \
  --header 'X-Api-Key: <api-key>'
{
"success": true,
"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 order identifier (received via webhook notification)

token
string
required

Order token (received via webhook notification)

Response

Order confirmation response

success
boolean
required

Operation result: true if successful, false if failed

error
string

Error code if the operation failed. Possible values:

  • NOT_FOUND = Order not located in system
  • INVALID_TOKEN = Provided token doesn't match order
  • TIMEOUT = Countdown period expired

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

message
string

Human-readable error description if the operation failed