Re: 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