question

yilipiao avatar image
yilipiao asked David Marginian Deactivated answered

Can I get an order's status?

When i get all the orders from clover, how do I filter the status like refunded, cancelled?

REST API
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered

Generally, you would do this by obtaining all of the data for the order (expanding on refunds, payments, etc.) and determining the status yourself. We do have a field called "paymentState" that does a bit of this for you BUT there is a caveat to using it - https://community.clover.com/questions/23985/same-order-id-having-different-paymentstate.html.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community