Hi,
Background info
Via the Rest Admin API we use an IPAAS system to pick up the order from Shopify and send it to our 3PL and ERP-system.
The IPAAS System checks every 5min for new orders and looks 6 hours back to be sure if we got everything or if the System is offline due to any errors it still picks the order up. Before posting the order in our 3PL/ERP system it checks if the order is already in our system by using the Shopify Order id.
The problem
Sometimes we have a duplicate order in our system, because this is not a closed loop. It happens that the system can not find the correct shopify id or due some connectivity problems then the system re-create the order.
We want to solve this in Shopify aka the source of the order. I am looking for some sort of status that we can set in Shopify or a field that we can use.
Possible Solution
What we are thinking of now is creating a meta field on the order. When the IPAAS get the order from Shopify it filles this meta field with a t.b.d value. The IPAAS system should only pick up orders that have an empty or not matching value.
The downside of this is that we have to create an extra GET call because the meta field is not standard in the order call.
The question
Does any one has experience on this matter? Or a better solution?