Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

How do you search for orders with JSON API? by HTee

$
0
0

I am an app in rails and would like to find all orders with a particular note value. I can't seem to find the documentation for the Shopify Order API for performing order searches.

So far, I am able to find all orders with a particular first_name with 

https://user:pass@yourshop.myshopify.com/admin/orders/search.json?query=first_name:john

It does not work when I try replacing it with note

https://user:pass@yourshop.myshopify.com/admin/orders/search.json?query=note:blue

How would you search for orders with a particular note? In addition, In the future I also want to search through note_attributes fields too. How would a query look like?


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>