Count orders
Orders
Count orders
Get the total number of orders for the store, honoring the same filters as the list endpoint. Requires the READ_ORDERS scope.
GET
Count orders
Returns the total count of non-deleted orders matching the status, user and date filters. The store is bound to your app token server-side — never send a shop id.
Authorizations
Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.
Query Parameters
Filter by order status. One of: pending, processing, paid, cancelled, refunded. Other values are ignored.
Available options:
pending, processing, paid, cancelled, refunded Filter by the customer's user id (Mongo ObjectId). Invalid ids are ignored.
Inclusive lower bound on order creation date (ISO 8601, filters createdAt).
Inclusive upper bound on order creation date (ISO 8601, filters createdAt).

