Order Search by Name

CR-Will
New Member
2 0 1

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?

Hello 

 

Want to modify or incorporate custom changes on store, Hire us
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Whats app
Free Website Review and advice for sale from Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO ; Digital Marketing & amp | Site Speed Optimization | Performance Site Audit
CR-Will
New Member
2 0 1

That's exactly my point. That API call no longer works as of API version 2019-10. And if you check the API docs you'll see they no longer mention anything about being able to search by the name field.

0 Likes
Busfox
Shopify Staff
Shopify Staff
619 48 94

 

Hi @CR-Will,

 

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.

 

Cheers,

0 Likes
FCShopify
New Member
3 0 0

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!

 

0 Likes
kartikluke
Shopify Partner
1 0 0

Hey @Busfox, wanted to know if the fix was implemented into 2019-10 and possibly further?

Partner at 622 Solutions
0 Likes
BGilbert
Shopify Expert
30 0 14

Any word on this? We're looking to upgrade API versions, but our app depends on being able to search by order name to look up the customers order.

BGilbert
Shopify Expert
30 0 14

In case anyone else needs to search by order name AND email, you can still search by email using /customers/search.json.

 

Then you can search by order name from customers:

/customers/orders.json?name=xxx