Organization / Orders

ordersCount

Return the number of orders matching the supplied filters.

Arguments

queryString

Search 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 value
brand_iduuidAny value
customer_iduuidAny value
recipient_address.country_codestringAny value
statusenum
CANCELED
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.
SHIPPED
UNALLOCATED
Nothing shipped yet, and part of the quantity has no stock reserved (backorder).
created_atdatetimeAny value
shipped_atdatetimeAny value

Returns

ordersCountInt!

Return the number of orders matching the supplied filters.