My colleague and I have noticed a few purchase orders that when closed and then “reopened” (i.e. changes to another status other than “closed”), the date_closed still remains.
Is it by design that the first date_closed value always remains, even if the PO does get re-opened?
We’re closing the PO through the UI, and when we consume data through the API, we observe the status being updated; however, the date_closed value still remains.
We’ve encountered a few errors with one of our operational dashboard that relies on updates from the PO API endpoint. Here are two problems we’re experiencing:
POs with no line items are archived on the front end, but not marked as closed or cancelled on the backend. Ex id. UHVyY2hhc2VPcmRlcjoxNTkzMzU0
PO line items are removed from POs, but not marked as cancelled on the backend. Ex id. UHVyY2hhc2VPcmRlckxpbmVJdGVtOjIzMDI4NTc1
If ShipHero does send updates if something is cancelled or closed, these two aforementioned PO IDs should have an updated status via the API, but alas they do not.