How to find out orders that merchants already hit "Save" button on Clover devices from API called. I read Clover Doc but I didn't find it.
How to find out orders that merchants already hit "Save" button on Clover devices from API called. I read Clover Doc but I didn't find it.
You can listen for the com.clover.intent.action.ORDER_SAVED
broadcast, which is fired when the merchant hits the save button.
You can read more about our broadcasts here: https://docs.clover.com/build/intents...
You can use webhooks to listen for changes to orders, but there's not a way be notified when a merchants specifically hits the "save" button on an order - outside of the Android SDK which I referenced.
If an order is saved but not paid, its properties should show up as "state":"open" However, having simply this property does not necessarily mean the "save" button was used to create it.
Is it possible to add orders "saved" flag to Clover REST api? Or add message to webhook what happen to orders e.g. "saved" We built a good app and got very good feedbacks from our merchants. If we can get "saved" flag or something that can tell us when merchants has hit on save button to web application. This will satisfy merchants so much and generate more revenue to both Clover and us.
I'm not 100% clear on your use case so I can't really suggest alternatives to listening for saved orders. As I mentioned, a saved order indicates an order with state set as "open." If you need to know specifically if the merchant hits the button on the device, you can build an android app that only listens to that broadcasts and then notifies your web app.
Hi Miguel, Tharin needs an event flag for the web api. From what I've read he need he has a web app and he needs to know when end users save an order on the Clover Station. This can be done in android but cannot be done in the web app. To get around this Tharin would need a saved flag.
For Example:
{ “saved” : true, "id": "7W2BBB0AH5C6P", "lineItems": { … } },
2 People are following this question.