Skip to main content
GET
Count SKU inventory rows
このページはAIによって自動翻訳されています。API技術仕様は英語が正式です。不明点がある場合は英語版を参照してください。
これは Enterprise 専用 機能で、Return Helper Enterprise のお客様のみ有効です。本サービスの料金については、enterprise-solution@returnhelper.com までお問い合わせください。
SKU 在庫を検索と同じフィルタに一致する「倉庫-SKU」行の数を返します。カーソルをたどる前にページネーションの規模を見積もるために使用します。

数えられる対象

totalNumberOfRecords は、相異なる SKU 値の数ではなく**「倉庫-SKU」行**を数えます。3 つの倉庫に在庫がある SKU は 3 としてカウントされます。これは、Search SKU inventory が同じフィルタでページネーションする対象とまったく同じです。

承認

x-rr-apikey
string
header
必須

Your API key

x-rr-apitoken
string
header
必須

Your API token — keep this private

クエリパラメータ

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.

レスポンス

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.