Can daily order data be pull in one API call?

stevelamar
Shopify Partner
59 5 24
I am trying to pull total amount of revenue generated per day from the orders API. Is there a way to do this without pulling one order at a time and rather pull a sum of the day? I am running into throttling issues when trying to get weeks of data.
Please click the like button if my reply was helpful 🙂
Founder of PromoPrep - Marketing Calendar Software

Find our marketing calendar app in the Shopify App Store
Reply 1 (1)

AmardeepSingh
Shopify Partner
94 5 15

Hi there,

 

I am not sure of your use case, however, one way is to use the "Webhooks" to process orders in real time. You need to be sure here that you don't miss any data due to your server not responding or any other reason.

 

Thanks