Close and archive a completed order
Restaurant API Key. Can be obtained from Tools > API Access in the xMenu dashboard.
Unique order identifier (received via webhook notification)
Order token (received via webhook notification)
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 orderSee Error codes for general error codes that may also occur.
Human-readable error description if the operation failed