injected service use to handle order related operations
injected logger use to handle logging
request context [headers, body, params, query].
query.productIds
is requiredparams.orgId
is required200 Status OK
This handler is used to get order count from product ids by applying the following steps in sequence:
Checks productIds and orgId provided
Aggregate count of orders grouped by product for org (orderService.getProductCountStatsForOrders)
Returns counts
500 NBError Internal Server Error
Generated using TypeDoc
Get order count from product ids handler