Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

Order API

Solved

Order API

giviko
Visitor
2 0 0

Hello,

 

I want to fetch order recourses using order_number as a parameter. Is there a way to do this?

 

 

 

Accepted Solution (1)

Liam
Community Manager
3108 344 893

This is an accepted solution.

Hi Giviko,

 

The Orders query has an argument for sortKey which lets you filter by ORDER_NUMBER, would this work for your use case? 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 2 (2)

Liam
Community Manager
3108 344 893

This is an accepted solution.

Hi Giviko,

 

The Orders query has an argument for sortKey which lets you filter by ORDER_NUMBER, would this work for your use case? 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

giviko
Visitor
2 0 0

Thank you for your answer Liam.