Is there API Rest call where we can send a list of order ID's for example [GHIVJT2ABCRSC,ABCVJTABCRRSC] and get a full list of order objects with all details in it(price, what is ordered etc...)?
The answer from Clover is incorrect. Yes, it is possible to obtain multiple items by id in a single request, see the REST API documentation - https://docs.clover.com/docs/using-filters-to-retrieve-multiple-results-from-an-endpoint. You probably want to batch these up and limit the number of ids in a single request to a few hundred (the docs say 100) as the web hooks come in and make a request every few minutes when you have several ids.
Hi eingfilip,
Would calling our Platform API's Get All Orders https://docs.clover.com/reference/ordergetorders and filtering by "id" provide what you're looking for?
Thanks,
Kevin
Hey Kevant thanks for the answer but that is not what we are looking for. I'm asking this because we are subscribed to webhook(https://docs.clover.com/docs/webhooks) for showing orders on our tablet as the kitchen display screen.. Hook gives only a list of Order IDS that are created/updated, how can we get full order(all order details) based on these ids(because we want to show them on the kitchen screen as new orders). For example, it might happen that waiters created 10 orders at the same time, webhook will trigger our endpoint with a list of order ids but in order to show those orders(item name, price...) we need to fetch those orders from Clover, how can we do that without firing 10/100/1000 requests is that possible to be done in a single request?
Hi eingfilip,
The webhook is notifying you that a particular order with orderID xxxxx has been created or updated. When recieved this notification, you will have to query this orderID to get the detailed information on that order.
https://docs.clover.com/docs/webhooks
Webhooks allow your application to receive notifications when merchants who have installed your app perform certain actions.
So, it is just the notification and to get more detail, you will have to query the orderID.
You can use the orders rest API to query the orderID and send the details to the Kitchen display:
https://docs.clover.com/docs/printing-orders-rest-api#will-online-orders-fire-to-my-kitchen-display-system-if-the-kds-is-configured-as-the-order-printer-for-the-default-firing-device
8 People are following this question.