Organization / Orders
ordersCount
Return the number of orders matching the supplied filters.
Arguments
queryStringSearch and filter expression for orders count. A filter made up of field terms, connectives, modifiers, and comparators. You can apply one or more filters to a query.
Supported filters
exceptionboolAny valuebrand_iduuidAny valuecustomer_iduuidAny valuerecipient_address. country_codestringAny valuestatusenumCANCELED- Canceled, or every ordered quantity was reduced to zero.
CREATED- New order that has not been allocated yet.
EXPECTED- Awaiting payment; stock is not allocated until the order is paid.
ALLOCATED- Stock is reserved for all quantity not shipped yet, also when the order is partly shipped.
PARTIALLY_SHIPPED- Partly shipped, and part of the remaining quantity has no stock reserved.
SHIPPEDUNALLOCATED- Nothing shipped yet, and part of the quantity has no stock reserved (backorder).
created_atdatetimeAny valueshipped_atdatetimeAny valueReturns
ordersCountInt!Return the number of orders matching the supplied filters.