Appearance
获取商品物料信息接口
接口说明:
| Method | URL | ContentType |
|---|---|---|
| GET | /api/restful/products/material | application/json |
URL 参数说明:
| 参数 | 类型说明 | 是否必须 | 描述 |
|---|---|---|---|
| skus | string | 必须 | 供应商商品编码 |
** 请求参数示例:**
/api/restful/products/material?skus=13135689235,13135689236
返回结果:
| 参数 | 类型说明 | 描述 |
|---|---|---|
| sku | string | 供应商商品编码 |
| material_code | string | 石油物料编码 |
| product_name | string | 商品名称 |
| standard_product_code | string | 标准商品编码 |
返回数据示例:
json
{
"success": true,
"errormsg ": "",
"requestId ": "9245fe4a-d402-451c-b9ed-9c1a04247482",
"errorcode": 0,
"result": [{
"sku": "13135689235",
"material_code": "2089493049",
"product_name":"京贤 粉盒 CTL-355H 5000页",
"standard_product_code":"CNPC00000035"
},
{
"sku": "13135689236",
"material_code ": "2089493049",
"product_name":"京贤 粉盒 CTL-355H 5000页",
"standard_product_code":"CNPC00000035"
}
]
}