Some external may need to know the current order being executed by TilliT and also recieve the progress of the order. This article will describe that process
Order-Stats Endpoint
The /core/order-stats endpoint is a special path that does not directly relate to an entity. You can only use the GET method which will return the following skeleton payload.
As you can see, this describe the current status of the order including the quantityCompleted, oee metrics and start stop times. If you want to query this endpoint, you will need to supply some required params. Use the filter param status to only get those that are in the running stateGET:/core/orders-stats?status=RUNNING. This endpoint can also be supplied the following to further filter the response you need.