You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(platform): count every Shopify order in count_orders #5344
Its body (L412) calls GET {store}/admin/api/2026-01/orders/count.json with no query.
The action has no input, so a caller cannot ask for more.
Shopify's reference for "Retrieve an order count" gives the status parameter the default open, with the values open, closed and any. Its example "Count all orders" passes status=any. Called without it, the action leaves closed and cancelled orders out of the count, which an agent then reports as the store's total.
Asked.
Make the count and the description agree: pass status=any so the action counts every order, as its description says.
If a caller should also count open or closed orders alone, give the action an optional status input, the same one list_orders takes, with any as the default its description names.
list_orders' own status input (L270) does not say that leaving it out lists only open orders. Say so there in the same change.
Activity