New Shopify Certification now available: Liquid Storefronts for Theme Developers

GET Orders API call will only return last 13 orders

Anonymous
Not applicable

Hi, when doing the following API call through Postman (or excel power query, for that matter):

 

https://{my store}.myshopify.com//admin/api/2019-10/orders.json?fields=id,name,email,financial_status,total_price,subtotal_price,line_items&financial_status=paid&limit=250

 

With proper auth, of course, it will only reply with the last 13 orders that fit this criteria.

Why is that so? Shouldn't the limit be 250 orders?

Rgds,

Lucas

Reply 1 (1)
Anonymous
Not applicable

Nevermind. The issue was that, by default, the API only pulls status=open orders.