search order by condition, but return 404

New Member
3 0 0

hi everbody:

    I want search order by admin api, but return 404 status code, request url is https://my-shopify-domain/admin/api/2019-10/orders/search.json?query=email:charu.pandya123@gmail.com; please help me, thank you!

0 Likes
Highlighted
Shopify Staff
Shopify Staff
221 28 27

Hi @pengdai 

 

This query will only work in the browser. As per our API docs, there is no search endpoint. You can format this like so: https:store.myshopify.com/admin/api/2019-10/orders.json?email:testemail@shopify.com

Vix | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 


0 Likes
New Member
3 0 0

I can try request https://my-shopify.domain/admin/api/2019-10/orders.json?email=diana.gomez80@gmail.com, but return orders empty array.


@vix wrote:

Hi @pengdai 

 

This query will only work in the browser. As per our API docs, there is no search endpoint. You can format this like so: https:store.myshopify.com/admin/api/2019-10/orders.json?email:testemail@shopify.com


 

0 Likes