tinywms.products.{id}
根据ID获取产品
- 请求路由:
tinywms.products.{id}- 交互模型:
Request Response- 访问限制: 无
请求
RSocket.rr({
"route" : "products.TH-1812-10"
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
id | String | 是 | 产品ID |
返回
产品信息
{
"skuNo" : "TH-1812-10",
"exportRoute" : "泛盈直接发泰国",
"productName" : "茵自然餐巾用纸 TH-1812-10 四层",
"productNameEn" : "NAPKIN PAPER TH-1812-10",
"productCategory" : "NAPKIN",
"productSpec" : "180*120",
"productModel" : "TH-1812-10",
"exportPriceRmb" : 28.0,
"boxSize" : {
"length" : 400,
"width" : 300,
"height" : 250
},
"emptyBoxWeight" : 0.32,
"grossWeight" : 2.83,
"netPaperWeight" : 2.51,
"boxCapacity" : 10.0,
"boxVolume" : 0.032,
"specDetails" : {
"plyCount" : "4"
},
"shippingMark" : "PANDA,&ELE,"
}
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
productId | String | 产品id |
skuNo | String | SKU |
productName | String | 商品名称 |
productNameEn | String | 商品名称(英文) |
productCategory | String | 产品类别 |
productSpec | String | 产品规格 |
productModel | String | 产品型号 |
exportRoute | String | 报关出口路径 |
importPriceRmb | Number | 进口单价(人民币) |
exportPriceRmb | Number | 出口单价(人民币) |
boxSize | Object | 外箱尺寸(毫米) |
boxSize.length | Number | 长 |
boxSize.width | Number | 宽 |
boxSize.height | Number | 高 |
emptyBoxWeight | Number | 空箱重量(公斤) |
grossWeight | Number | 满箱重量(公斤) |
netPaperWeight | Number | 纸巾净重(公斤) |
boxCapacity | Number | 每箱数量 |
boxVolume | Number | 箱体容积(立方米) |
specDetails | Object | 特定规格 |
shippingMark | String | 唛头/箱唛标识 |
targetWarehouse | Object | 目标仓库 |
targetWarehouse.unitId | String | 往来单位id |
targetWarehouse.country | String | 国家 |
targetWarehouse.unitName | String | 往来单位名称(中文) |
targetWarehouse.unitNameEn | String | 往来单位名称(英文) |
targetWarehouse.unitAbbreviation | String | 往来单位缩写 |
targetWarehouse.unitAddress | String | 往来单位地址(中文) |
targetWarehouse.unitAddressEn | String | 往来单位地址(英文) |
targetWarehouse.contactPerson | Object | 联系人信息 |
targetWarehouse.contactPerson.username | String | 用户标识 |
targetWarehouse.contactPerson.name | String | 用户名称 |
targetWarehouse.contactPerson.mobile | String | 用户手机号 |
targetWarehouse.extraProps | Object | 扩展信息 |
legalEntityId | String | 法人主体id |
customerId | String | 客户id |
extraProps | Object | 扩展属性 |
crBy | String | 创建者 |
upBy | String | 最后修改者 |
crDate | String | 创建时间 |
upDate | String | 最后修改时间 |
tenantId | String | 租户ID |
id | Varies |