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.

Retrive old transactions from API

Solved

Retrive old transactions from API

TeamIntel
Visitor
1 0 0

Hi I need to use the rest api to get all the transactions of my shop. I use this endpoint but it only returns 50, how can I get all those from September to today?

Link used:

 

Accepted Solution (1)

wmartin129
Shopify Partner
9 3 1

This is an accepted solution.

Hi TeamIntel,

 

The API call you are using returns the data in pages of 50 entries each. This is common for many Shopify API calls. You can access the other pages by following their documentation here.

 

Hope that helps.

 

Regards,

Wayne

View solution in original post

Reply 1 (1)

wmartin129
Shopify Partner
9 3 1

This is an accepted solution.

Hi TeamIntel,

 

The API call you are using returns the data in pages of 50 entries each. This is common for many Shopify API calls. You can access the other pages by following their documentation here.

 

Hope that helps.

 

Regards,

Wayne