How to fetch orders from multiple shopify stores owned by different users.

How to fetch orders from multiple shopify stores owned by different users.

AlexSapoznikov
Shopify Partner
1 0 0

I need to get orders from multiple clients shopify stores into our external web-app. I am struggeling to understand how to achieve this.

So far I created a custom public app which is able to get data from single store when it is installed.

But this does not solve a problem for my external API to get order for all the stores that want to collaborate with us.

I have been digging in documentations for days, but I am still struggeling to find the right way. Any help would be very appreciated!

Replies 2 (2)

Not applicable

Hi @AlexSapoznikov,

 

Get your clients to create a custom app within their Shopify Admin > Apps. 

 

Ask them to pass along the API Credentials. Create multiple app instances and use the respective API credentials to fetch Orders. 

 

Best,

Sam - Owner/Lead Developer 

Achieve Applabs

 

 

MobeenQamar
Shopify Partner
10 0 0

can u share the code for fetching all the orders from shopify store