Hello!
We have been implementing integrations on various stores we have and ran into a little bit of an issue which is leaving me scratching my head. In our stores we have three separate locations we will call them A, B, and C. When all is normal we have order data come back from the Admin API order query we generate and the location is A, B, or C as expected. Sometimes we have orders which come back with the Store Name.
We are mapping this location to which warehouse we are to fulfill the order from so this is causing some errors in order processing.
In the example that occurred last night we have an order for 1 item. this item only has stock in warehouse/location A however the order came in with the Store Name as the origin_location.name field.
Why is this occurring on most orders this data gets populated just fine, but on some it appears to just go with the Store Name and it is causing confusion and errors.
thanks!