I’m trying to mark a PurchaseOrder as sent, and the HTTP response I get does not make sense to me. Given that I have a purchase order with po_id 20160927-123456, when I send the request
PUT /purchase_order/20160927-123456/
In the post-data, I include the current time (as sent) and the warehouse ID.
I get the response
A purchase order already exists with that po_id u’20160927-123456’ for company_id 987654
The problem is… I know a PO with that ID already exists, which is why I’m sending a PUT request rather than a POST. Thus the error is telling me what I know, but not telling me why it matters. Has anyone else encountered and/or solved this problem?