这是用户在 2024-5-28 15:20 为 https://partner.tiktokshop.com/docv2/page/650a11d0defece02be5ec7a6?external_id=650a11d0defece02be5ec... 保存的双语快照页面,由 沉浸式翻译 提供双语支持。了解如何保存?
文档
联系我们
搜索内容
TikTok Shop Partner TikTok商店合作伙伴
✨探索我们最近更新的内容!📚我们正在向新文档库引入新内容和一套全新的 TikTok Shop API。
注意:202309 版本以前的所有 TikTok Shop API 都被视为旧版。你可以切换到旧文档库来访问旧 API 文档。

Documents 文件


合作伙伴指南开发人员指南API参考WebhooksChangelog常见问题
Update Global Inventory
Seller
Sellers can use this API to update global product inventory. Specify the inventory value of the warehouse entity for updating the Global SKU. Usage requirements - It is only available for sellers who have multi warehouses permission. - Can only update global inventory for unpublished global products. Updating global inventory will not affect the inventory of already published products on the market. - To update global inventory using this API, you need to specify the Global SKU and warehouse entity ID.
POST
/product/202309/global_products/{global_product_id}/inventory/update
Request
Header
Properties
Type
Description
content-type
Required
string
Allowed type: application/json
Body
Properties
Type
Description
global_skus
Required
[]object
Need to modify the Global SKU corresponding to the inventory.
Example
PLAIN TEXT
1https://open-api.tiktokglobalshop.com/product/202309/global_products/1729592969712207013/inventory/update?app_key=123abc&sign=5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c&timestamp=1625484268
JSON
1{
2  "global_skus": [
3    {
4      "id": "1729592969712207013",
5      "inventory": [
6        {
7          "global_warehouse_id": "7068517275539719942",
8          "quantity": 999
9        }
10      ]
11    }
12  ]
13}
Response
Parameters
Properties
Type
Description
code
int
The success or failure status code returned in API response.
message
string
The success or failure messages returned in API response. Reasons of failure will be described in the message.
request_id
string
Request log
data
object
Specific return information
Example
JSON
1{
2  "code": 0,
3  "data": {},
4  "message": "Success",
5  "request_id": "202203070749000101890810281E8C70B7"
6}
Error Code
Code
Message
12052531
warehouse status invalid
Is this content helpful? 这些内容有帮助吗?
Previous 先前
Publish Global Product 发布全球产品
Next 
Get Global Product 获取全球产品
×
拖拽到此处
图片将完成下载
rangeDom 范围