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?