I am getting a list of orders from Clover for a merchant. I want to go through and do something with only the orders that are finished. For example, no "open" or "pending" orders. On my developer device the order shows "Status: Open" vs "Status: Paid".
I tried "paymentState", but that shows "OPEN" either way. I want to use "state" which shows either "locked" or "open". However, the docs say:
'Non-null values such as "open" and "locked" are not checked or enforced by the server. Therefore, these values should not be used to make any logical decisions about the Order."'
How should I be checked for the status of an order?