As of Shopify API version 2019-10 searching for orders by name no longer works using this endpoint: https://help.shopify.com/en/api/reference/orders/order?api[version]=2019-10#index-2019-10
It does work up through 2019-07.
All reference to searching for orders by name seems to have been removed from the API docs and I cannot find any changelogs about this functionality being removed.
Is there any way to find an order via the API if we only have the order name or number, and not the ID?
For order search by name use below API
My understanding is that this functionality has always been undocumented. That said, enough apps were using it that we are looking into a fix to allow this function in the 2019-10 version. To continue using this functionality, please use an older version for now.
I noticed the same problem today when testing 2019-10. Since the order 'name' is generally the most prominent and/or the only order identifier that the customer sees on their receipts, not being able to search by that value is a bit perplexing. I don't know if it was ever documented or not, but the forums have several comments about using it, including from Shopify staff (eg: https://community.shopify.com/c/Shopify-APIs-SDKs/HowTo-find-an-order-via-API-call-using-order-numbe... ) It would definitely be appreciated to have this functionality re-enabled!