This API is used to retrieve detailed inventory information for goods and matched SKUs, including sellable inventory, reserved inventory, unsellable inventory, and in-transit inventory at the warehouse level.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Identifies the shop. Obtain it from the Get Authorized Shops API.
The number of results to be returned per page. Valid range: [1-100].
Pagination page token. It should be empty for the first page.
Request Body
Section titled “Request Body”object
The identifiers for goods generated by the Fulfilled by TikTok system. Maximum: 100 goods IDs per request. If specified, only inventory information for those goods is returned. If both goods_ids and sku_ids are omitted, all goods with non-zero inventory are returned.
Do not provide goods_ids and sku_ids in the same request. Both fields may be omitted.
The identifiers of warehouses generated by the Fulfilled by TikTok system. Specify up to 100 warehouse IDs to return inventory records only for subscribed warehouses that match those IDs. If omitted or empty, inventory records from all warehouses subscribed by the merchant are returned.
TikTok Shop SKU identifiers used to select goods matched to those SKUs. Maximum: 100 SKU IDs per request. Do not provide sku_ids and goods_ids in the same request; both fields may be omitted. For each matched goods record, the returned goods.skus list contains the SKU inventory supplied for that goods record and is not restricted to the requested SKU IDs.
Example
{ "goods_ids": [ "256080616234", "2231616264" ], "fbt_warehouse_ids": [ "7232382932030232" ], "sku_ids": [ "256080616234" ]}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
An opaque token used to retrieve the next page of a paginated result set. Provide this value in the page_token parameter of your next request. An empty next_page_token means there are no more pages.
The total number of warehouse-goods inventory records that match the applied filters.
A list of inventory records. Each item represents one goods item at one Fulfilled by TikTok warehouse and can include the associated SKU inventory breakdown.
object
The reference used to track products and SKUs within Fulfilled by TikTok’s network.
object
The identifier for goods generated by Fulfilled by TikTok system.
The identifier for goods defined by the merchant, commonly used to reference the ID from the merchant’s other order management systems.
The goods name.
A list of inventory information for Stock Keeping Units (SKUs) matched with current Fulfilled by TikTok goods.
object
The identifier for SKU generated by TikTok Shop system.
The inventory information of SKU physically in the warehouse, excluding those in transit or broken.
object
The total number of units for current SKU, consist of available_quantity and reserved_quantity.
The number of units available for sale. Note: The number does not include reserved units.
The number of units reserved for customer orders or return to supplier shipment.
The identifier for warehouse generated by Fulfilled by TikTok system.
The number of goods units currently en route to the warehouse. The inventory includes inbound replenishments, customer returns, unsuccessful delivery returns, etc.
The current-in-warehouse inventory detail for the goods.
object
The total on-hand quantity for the goods at the Fulfilled by TikTok warehouse, excluding in-transit inventory.
The number of units available for sale. Note: The number does not include reserved units.
The number of units reserved for customer orders or return to supplier shipment.
The number of defective units in the warehouse.
Example
{ "code": 0, "data": { "next_page_token": "cGFnZV9udW1iZXI9Mg==", "total_count": 22113, "inventory": [ { "goods": { "id": "69167899745030", "reference_code": "water01", "name": "100ml water", "skus": [ { "id": "73243612345", "on_hand_detail": { "total_quantity": 20, "available_quantity": 5, "reserved_quantity": 15 } } ] }, "fbt_warehouse_id": "7232382932030232", "in_transit_quantity": 10, "on_hand_detail": { "total_quantity": 20, "available_quantity": 5, "reserved_quantity": 15, "unfulfillable_quantity": 0 } } ] }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}