Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Get an specific order by name with an API call

Get an specific order by name with an API call

PabloSwap
Visitor
2 0 0

Hey Community! I need some help!

 

I have an app that creates orders with custom names ("prefix"+order number). When I make calls such as:

GET - https://STORENAME.myshopify.com/admin/api/2022-01/orders.json?status=any&name=1080 

 

I get as a result all my custom name orders related to that order name (ex. CRD-#1080, EXC-#1080, SW-#1080 and #1080). I tried using quotation marks or adding the "#", but I don't get the result I want. Is there a way to only get the order which name is "#1080"?

 

Replies 0 (0)