I have a CSV list of order numbers (from another system) which I have tagged into the Shopify orders. Is there a way to read all the Shopify orders by the tag?
Alternatively, the order number (from the other system) is also in the Notes section of the Shopify Order but includes some other text around it. Not sure if there's a way to do a "contains" search or regex matching?
I would do something like this:
GET /admin/orders.json?tags=[ comma seperated list of tag values ]
I think the output will be sorted by orderdate. I don't think its possible to sort by tag value.
You can read more here: https://help.shopify.com/en/api/reference/orders/order#index