跳到主要内容

抖音全球购货品库存

系统相关界面

请求地址

环境服务地址(HTTP/HTTPS)
V2正式环境(推荐)https://gw.superboss.cc/router

2022年4月1日以后申请的APP Key,统一使用V2正式环境的请求地址:https://gw.superboss.cc/router

公共参数

调用任何一个API都必须传入的参数,目前支持的公共参数有:

参数名称参数类型是否必须参数描述
methodstringAPI接口名称
appKeystring分配给应用的AppKey
timestampstring时间戳,时区为GMT+8,例如:2020-09-21 16:58:00。API服务端允许客户端请求最大时间误差为10分钟
formatstring响应格式。默认为json格式,可选值:json
versionstringAPI协议版本 可选值:1.0
sign_methodstring签名的摘要算法(默认 hmac),可选值为:hmac,md5,hmac-sha256。
signstring签名
sessionstring授权会话信息 (即access_token,由系统分配)

请求头

全部展开
参数名
类型
描述
必填
Content-Type
string
application/x-www-form-urlencoded;charset=UTF-8
必填

API接口地址

全部展开
参数名
类型
描述
必填
method
string
kmzk.platform.source.bill.list
必填

请求参数

全部展开
参数名
类型
描述
必填
shopId
long
店铺id
必填
platform
integer
平台类型,抖音全球购货品库存:165
必填
pageNo
integer
页码 取值范围:大于零的整数。默认值为1
必填
pageSize
integer
每页条数 取值范围:大于零的整数;最大值:500;默认值:20
必填
dataUpdateTimeStart
long
数据修改时间开始 毫秒值时间戳
dataUpdateTimeEnd
long
数据修改时间结束 毫秒值时间戳
billingTimeStart
long
账单日期时间开始 毫秒值时间戳
billingTimeEnd
long
账单日期时间结束 毫秒值时间戳

响应参数

全部展开
参数名
类型
描述
必填
traceId
string
示例:2779681989393635611
必填
list
array
账单列表
必填
content
object
账单内容
必填
productName
string
货品名称
必填
productCode
string
货品编码
multiFulfillment
string
一品多履约
barcode
string
货品条码
firstCategory
string
一级类目
必填
secondCategory
string
二级类目
必填
thirdCategory
string
三级类目
必填
fourthCategory
string
四级类目
必填
brandName
string
品牌名称
必填
supplierId
string
供应商ID(主供)
必填
supplierName
string
供应商名称
必填
warehouseCode
string
仓库编码
必填
warehouseName
string
仓库名称
必填
warehouseGroup
string
仓分组
必填
businessModel
string
经营模式
必填
isExpiryProduct
string
是否效期品
必填
totalStock
string
总库存
必填
goodInStock
string
良品在库
必填
goodAvailable
string
良品可用
必填
goodOccupied
string
良品占用
必填
goodTocOccupied
string
良品TOC占用
必填
goodTobOccupied
string
良品TOB占用
必填
goodChannelOccupied
string
良品渠道占用
必填
transactionStock
string
交易库存
必填
defectiveStock
string
残品库存
必填
defectiveAvailable
string
残品可用
必填
defectiveOccupied
string
残品占用
必填
defectiveTobOccupied
string
残品TOB占用
必填
defectiveExpiryDisabled
string
残品效期禁用
必填
inTransitStock
string
在途库存
必填
purchaseInTransit
string
采购在途
必填
deliveryInTransit
string
送仓在途
必填
transferDifference
string
调拨差异
必填
transferGoodInTransit
string
调拨良品在途
必填
transferDefectiveInTransit
string
调拨残品在途
必填
total
int
总条数,示例:37666
必填
success
boolean
示例:true
必填

响应示例

{
"traceId" : "4947828967746886588",
"pageSize" : 10,
"list" : [ {
"id" : "82e25906b52d7e29b83d0628ec9b2cce",
"content" : {
"supplierId": "-",
"secondCategory": "防晒",
"defectiveOccupied": "0",
"deliveryInTransit": "0",
"businessModel": "-",
"goodAvailable": "4",
"firstCategory": "美容护肤",
"defectiveAvailable": "0",
"warehouseName": "【4PL】杭州下沙海仓保税仓",
"productName": "ROA BB ALOE VERA GEL 90ML TH 4/3 90ml",
"warehouseCode": "4PLHCBBC02",
"goodTocOccupied": "0",
"defectiveStock": "0",
"goodInStock": "4",
"warehouseGroup": "-",
"multiFulfillment": "否",
"defectiveExpiryDisabled": "-",
"barcode": "079656649598",
"goodTobOccupied": "0",
"fourthCategory": "-",
"isExpiryProduct": "是",
"supplierName": "-",
"thirdCategory": "防晒霜",
"brandName": "香蕉船",
"goodOccupied": "0",
"goodChannelOccupied": "-",
"transferDefectiveInTransit": "0",
"transferDifference": "0",
"defectiveTobOccupied": "0",
"productCode": "7555051303102234920",
"purchaseInTransit": "0",
"transactionStock": "0",
"inTransitStock": "0",
"totalStock": "4",
"transferGoodInTransit": "0"
}
} ],
"total" : 1,
"pageNo" : 1,
"success" : true
}