Skip to main content
GET
Count SKU inventory rows
此頁面由 AI 自動翻譯。API 技術規格以英文呈現為標準。如有任何疑問,請參閱英文版本
此為 Enterprise 專屬 功能,僅對 Return Helper Enterprise 客戶啟用。如需了解此服務的定價,請聯絡 enterprise-solution@returnhelper.com
回傳符合搜尋 SKU 庫存相同篩選條件的「倉庫-SKU」列數。可在走訪游標前用來估算分頁規模。

計算內容

totalNumberOfRecords 計算的是**「倉庫-SKU」列**,而非相異的 SKU 值。同一個 SKU 若存放於三個倉庫,會計為三列。這與 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.