Order actions
Order closure
Close and archive a completed order
POST
Close order
Authorizations
Restaurant API Key. Can be obtained from Tools > API Access in the xMenu dashboard.
Query Parameters
Unique order identifier (received via webhook notification)
Order token (received via webhook notification)
Response
Order closure response
Operation result: true if successful, false if failed
Error code if the operation failed. Possible values:
NOT_FOUND= Order not located in systemINVALID_TOKEN= Provided token doesn't match order
See Error codes for general error codes that may also occur.
Human-readable error description if the operation failed
Close order