An API to allow completion of an order
S
Simon Russell (Fawkes Cycles)
We would like a new API to allow us to automatically complete a work order.
The use case is as follows: Customers place orders via our eCommerce web site. We have middleware software that creates a work order in Citrus Lime for each customer order using the POST /api/CustomerOrder api. When the customer order has been fulfilled, it is dispatched via the eCommerce system. Currently, the corresponding work order has to be manually closed via Citrus Lime Cloud POS Till, by Tendering, rejecting the receipt and completing the transaction. We would like a new API (e.g. PUT /api/CustomerOrder or an extension to the PostTransaction API) that would allow us to automate the completion of the work order in Citrus Lime. For each completed customer order, we would call this new Citrus Lime API, providing the work order details and if necessary, the product item lookup codes and tender amounts. The API would tender and close the work order in Citrus Lime, returning the outcome of the update.