I'm trying to utilize the order editing API and something that doesn't make sense to me is why the financial status of the order remains as "authorized" or whatever the previous state was even after adding a new product to the order that requires payment by the customer.
How do we filter orders that should not be fulfilled if they have outstanding payment required? Is there another status or flag we can utilize?
For example, this order has $277.62 owed by the customer due to order editing
But the financial status is still "authorized". This means the 3rd party ERP system for fulfillment pulls the order, fulfills, and then when we capture payment, it's missing the additional amount. I would think the status would be partially paid or something of that sort meaning there is a balance due...
Am I missing something?
Edit: Also is there no way to pass in a custom line item property when adding a product variant via API to the order? I'd like to simply add a custom line item property to denote that it was added via my app.