- 开发者必读
- 授权
- 基础资料
- 商品
- 入库
- 订单
- 库存
- 换单
- 退货
- 订阅
商品列表
POST
/api/openPlatform/product/list
请求参数
Header 参数
Authorization
string
必需
默认值:
Bearer {{token}}
Content-Type
string
必需
默认值:
application/json
Body 参数application/json
categoryId
integer
分类ID
customerSku
string
客户编码(SKU)
warehouseCode
string
发货仓库
page
integer
页码
prePage
integer
每页条数
createTimeFrom
string
创建时间开始
createTimeTo
string
创建时间结束
updateTimeFrom
string
更新时间开始
updateTimeTo
string
更新时间结束
示例
{
"createTimeFrom": "2022-12-10 02:30:50",
"prePage": 1,
"page": 100,
"customerSku": "dolor aliqua",
"createTimeTo": "2022-02-21 21:44:06",
"categoryId": 1
}
返回响应
🟢200成功
application/json
Body
state
string
必需
msg
string
必需
data
object
必需
list
array [object {35}]
必需
total
integer
总条数
page
integer
必需
prePage
integer
必需
示例
{
"state": "000001",
"msg": "请求成功",
"data": {
"list": [
{
"id": 13158,
"categoryId": 2,
"productName": "",
"productCnName": "测试sku同步3",
"productSku": "YC002-TT998478181",
"customerSku": "TT998478181",
"productRefCode": "",
"productDeclareName": "",
"productDeclareCnName": "",
"productLink": "",
"productAttr": 0,
"productAttrDescription": "普货",
"productType": 0,
"productTypeDescription": "包裹",
"hasBrand": 0,
"brandName": "",
"productModel": "",
"unitCode": "pcs",
"unit": "个/只/件/支/枝/把",
"inProductCustomsInfo": [],
"status": 0,
"mainWarehouseCode": "001",
"mainWarehouseName": "马来西亚1号仓",
"statusDescription": "废弃",
"use": "",
"material": "",
"refCostPrice": "0.00",
"ean": "",
"needScanImei": 0,
"warehouseInfo": [
{
"warehouseCode": "001",
"warehouseName": "马来西亚1号仓",
"purchasePrice": 0,
"stockPrice": 0,
"updatedAt": "2025-02-06 12:25:48"
}
],
"createTime": "2025-02-06 12:25:48",
"updateTime": "2025-02-06 12:26:02",
"outProductCustomsInfo": {
"country": "CN",
"price": 0
},
"productImages": [],
"productSpecs": {
"length": 1,
"width": 2,
"height": 3,
"weigh": 1,
"packageLength": 1,
"packageWidth": 2,
"packageHeight": 3,
"packageWeigh": 1,
"wmsSpecs": []
}
}
],
"total": 1,
"page": 1,
"prePage": 100
}
}
修改于 2025-02-10 06:48:23