商品详情
POST
/api/openPlatform/product/detail请求参数
Body 参数application/json
customerSku
string
客户sku
示例
{
"customerSku": "TT309398918"
}
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
state
string
必需
msg
string
必需
data
object
必需
id
integer
商品ID
categoryId
integer
分类ID
productName
string
商品英文名称
productCnName
string
商品中文名称
productSku
string
元仓SKU
customerSku
string
客户编码(SKU)
ean
string
ean
productRefCode
string
参考编码
productDeclareName
string
申报英文名称
productDeclareCnName
string
申报中文名称
productLink
string
商品链接
productAttr
integer
货物属性
productAttrDescription
string
货物属性描述
productType
integer
货物类型
productTypeDescription
string
货物类型描述
hasBrand
integer
是否有品牌
brandName
string
品牌名称
productModel
string
型号
unitCode
string
成交单位
unit
string
成交单位描述
inProductCustomsInfo
array[string]
进口海关信息
status
integer
状态
mainWarehouseCode
string
主仓编码
mainWarehouseName
string
主仓名称
statusDescription
string
状态描述
use
string
用途
material
string
材质
refCostPrice
string
参考成本价
createTime
string
创建时间
updateTime
string
更新时间
outProductCustomsInfo
object
出口海关信息
productImages
array[string]
商品图片
productSpecs
object
商品规格
warehouseInfo
array [object {4}]
商品仓库
示例
{
"state": "000001",
"msg": "请求成功",
"data": {
"id": 1613,
"categoryId": 1,
"productName": "LAMP1",
"productCnName": "LAMP12",
"productSku": "YSD-AM30993",
"customerSku": "AM30993",
"productRefCode": "AM30993-REF",
"productDeclareName": "LAMP",
"productDeclareCnName": "48FT15头2WLED户外防水灯串英规",
"productLink": "https://www.amazon.com/Eyekepper-Modern-Single-Waterfall-Bathroom/dp/B00KSW5Q8Q/ref=sr_1_2?s=kitchen-bath&ie=UTF8&qid=1487210962&sr=1-2&keywords=Faucet",
"productAttr": 0,
"productAttrDescription": "普货",
"productType": 0,
"productTypeDescription": "包裹",
"hasBrand": 1,
"brandName": "华为",
"productModel": "无",
"unitCode": "pcs",
"unit": "个/只/件/支/枝/把",
"inProductCustomsInfo": [
{
"country": "MY",
"price": 1.22
},
{
"country": "SG",
"price": 1.33
}
],
"status": 0,
"mainWarehouseCode": "001",
"mainWarehouseName": "马来西亚1号仓-(仓库编码:001)",
"statusDescription": "废弃",
"use": "科研",
"material": "金属",
"refCostPrice": "1.00",
"createTime": "2022-08-24 11:21:41",
"updateTime": "2022-08-24 11:21:41",
"outProductCustomsInfo": {
"country": "CN",
"price": 1.44
},
"productImages": [
"https://m.media-amazon.com/images/I/41OAUIloxPL._AC_US40_.jpg",
"https://m.media-amazon.com/images/I/41rZdeJfI-L._AC_US40_.jpg"
],
"productSpecs": {
"length": 1,
"width": 1.1,
"height": 1.2,
"weigh": 1.3,
"packageLength": 1,
"packageWidth": 1,
"packageHeight": 1,
"packageWeigh": 1
},
"warehouseInfo": [
{
"warehouseCode": "001",
"warehouseName": "马来西亚1号仓",
"purchasePrice": 1,
"stockPrice": 1,
"updatedAt": "2022-08-30 16:49:28"
}
]
}
}
最后修改时间: 6 个月前