Skip to main content
GET
Count SKU inventory rows
This is an Enterprise-only feature, enabled only for Return Helper Enterprise customers. To learn more about pricing for this service, contact enterprise-solution@returnhelper.com.
Returns the number of warehouse-SKU rows that match the same filters accepted by Search SKU inventory. Use it to size pagination before walking the cursor.

What is counted

totalNumberOfRecords counts warehouse-SKU rows, not distinct SKU values. A SKU stocked in three warehouses contributes three to the count. This matches exactly what Search SKU inventory paginates through with the same filters.

Authorizations

x-rr-apikey
string
header
required

Your API key

x-rr-apitoken
string
header
required

Your API token — keep this private

Query Parameters

warehouseIdList
string

Comma-separated list of warehouse IDs to filter by (e.g. 1001,1002). Same rules as Search SKU inventory: positive integers, no duplicates, at most 100 entries, each owned by the authenticated account. Omit to count rows across all owned warehouses. Optional.

skuList
string

Comma-separated list of SKUs to filter by (e.g. SKU-006,SKU-001). Same rules as Search SKU inventory: at most 100 entries, each matching the SKU pattern (alphanumerics plus #, -, _; maximum 32 characters), matched after trim and uppercase normalization. Omit to count all SKUs. Optional.

Response

Success

Total-count companion to Search SKU inventory. totalNumberOfRecords is returned as a top-level field alongside the standard correlationId and meta envelope.

totalNumberOfRecords
integer<int32>

Number of matching warehouse-SKU rows for the same filters (the same SKU across N warehouses counts as N rows), not the number of distinct SKU values.