I'm importing orders into Shopify from several sources. In some cases I will need to check if an order already exists to avoid creating duplicates.
I have tried several ways to filter the order list but no luck there. Then tried to search using the GraphQL. So far the only field that I can set and an input that then allows me to search for it is the email. So creating a fake email that uniquely identifies the order I was able to search for it again. So far I haven't found any way to filter by "source_name", "source_identifier", "reference".
Does anyone knows a solution?
Thanks
Hey @urinud,
You could look into importing the order from the external systems with either tags or metafields to be searched for later: https://shopify.dev/docs/admin-api/graphql/reference/object/order?api[version]=2020-07
Callum | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution
User | Count |
---|---|
28 | |
7 | |
7 | |
6 | |
5 |