获取商品详情
获取1688商品详情信息
1.请求参数:
请求URL:
业务参数
名称 | 类型 | 是否必须 | 描述 | 示例值 |
---|---|---|---|---|
productID | Long | 是 | 商品ID | 123456 |
webSite | String | 否 | 站点信息,指定调用的API是属于国际站(alibaba)还是1688网站(1688) | |
scene | String | 否 | 业务场景 零售通(lst) 1688市场(1688) |
2. 请求示例代码(Java)
@Test
public void AlibabaItemDetail() throws Exception {
String tb_seller_nick = Config.alibabaSellerNick;
//业务参数
Map<String, String> data = new HashMap<String, String>();
data.put("appid", Config.AppId);
data.put("seller_nick", tb_seller_nick);
Long timestamp = System.currentTimeMillis() / 1000;
data.put("timestamp", timestamp.toString());
data.put("productID", "779796446274");
data.put("sign", Utils.Sign(data, Config.AppSecret));
// 调用服务API
String response = doHttpRequest(Config.AlibabaItemDetailUrl, data);
}
3. 返回结果如下:
{
"code": 0,
"message": "ok",
"data": {
"approvedTime": "20240504012459000+0800",
"bizGroupInfos": [
{
"code": "isRetailOffer",
"description": "零售通",
"support": false
},
{
"code": "isMicroSupply",
"description": "微供商品",
"support": false
},
{
"code": "isEMallOffer",
"description": "1688企业内部商城",
"support": false
},
{
"code": "isConsignMarketOffer",
"description": "1688代销产品",
"support": true
},
{
"code": "hasLinkedToSupplier",
"description": "代发业务产品",
"support": false
},
{
"code": "isIntelligentOffer",
"description": "慧眼识货发布的商品",
"support": false
},
{
"code": "isTbDistributionOffer",
"description": "分销商品",
"support": true
}
],
"createTime": "20240403100928000+0800",
"expireTime": "20340502012459000+0800",
"lastRepostTime": "20240426064004000+0800",
"lastUpdateTime": "20240504012459000+0800",
"productInfo": {
"attributes": [
{
"attributeID": 7170,
"attributeName": "适用年龄段",
"isCustom": false,
"value": "成年"
},
{
"attributeID": 100000691,
"attributeName": "货源类别",
"isCustom": false,
"value": "现货"
},
{
"attributeID": 2176,
"attributeName": "品牌",
"isCustom": false,
"value": "Vaan los"
},
{
"attributeID": 1398,
"attributeName": "货号",
"isCustom": false,
"value": "tb-762535733155"
},
{
"attributeID": 4921,
"attributeName": "鞋面材质",
"isCustom": false,
"value": "其他"
},
{
"attributeID": 4923,
"attributeName": "鞋底材质",
"isCustom": false,
"value": "橡胶"
},
{
"attributeID": 100017842,
"attributeName": "最快出货时间",
"isCustom": false,
"value": "见描述"
},
{
"attributeID": 2600,
"attributeName": "适用性别",
"isCustom": false,
"value": "中性/男女均可"
},
{
"attributeID": 100017994,
"attributeName": "鞋帮高度",
"isCustom": false,
"value": "高帮"
},
{
"attributeID": 2531,
"attributeName": "适合季节",
"isCustom": false,
"value": "春季"
},
{
"attributeID": 160540053,
"attributeName": "上市年份季节(上市时间)",
"isCustom": false,
"value": "2024年春季"
},
{
"attributeID": 3216,
"attributeName": "颜色",
"isCustom": false,
"value": "米色"
},
{
"attributeID": 3216,
"attributeName": "颜色",
"isCustom": false,
"value": "黑色"
},
{
"attributeID": 450,
"attributeName": "尺码",
"isCustom": false,
"value": "35"
},
{
"attributeID": 450,
"attributeName": "尺码",
"isCustom": false,
"value": "36"
},
{
"attributeID": 450,
"attributeName": "尺码",
"isCustom": false,
"value": "37"
},
{
"attributeID": 450,
"attributeName": "尺码",
"isCustom": false,
"value": "38"
},
{
"attributeID": 450,
"attributeName": "尺码",
"isCustom": false,
"value": "39"
},
{
"attributeID": 450,
"attributeName": "尺码",
"isCustom": false,
"value": "40"
}
],
"bizType": 1,
"categoryID": 1043193,
"categoryName": "女式板鞋",
"createTime": "20240403100928000+0800",
"description": "<div></div><div></div><p><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i3/3489055828/O1CN01G01dW41svHBpWobJC_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i1/3489055828/O1CN01zSNwBo1svHBldofh6_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i2/3489055828/O1CN01T4bvEB1svHBoEAUmq_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i4/3489055828/O1CN01EeD7bQ1svHBjHKiqC_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i2/3489055828/O1CN01Ol2JcG1svHBmSyeR6_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i4/3489055828/O1CN01kUfquA1svHBnxA4s1_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i4/3489055828/O1CN018xi4mh1svHBjk3Oxf_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i4/3489055828/O1CN01dedS3J1svHBjk5c7n_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i3/3489055828/O1CN01iVgrrw1svHBmTdfJo_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i3/3489055828/O1CN01YwOKkr1svHBpWp4S1_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i2/3489055828/O1CN01NZ1AHz1svHBlcEj0p_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i1/3489055828/O1CN01ZtGBbz1svHBjHJuxu_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i3/3489055828/O1CN01O1BDJy1svHBmTc7fx_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i2/3489055828/O1CN01PrF76J1svHBpWo451_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i2/3489055828/O1CN01fQHr2x1svHBpWnvlc_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i1/3489055828/O1CN01z0LTGM1svHBjk3wF9_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i3/3489055828/O1CN01VF2lMi1svHBjHHImZ_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i1/3489055828/O1CN01kAdiQA1svHBddWQBW_!!3489055828.jpg\"/><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i2/3489055828/O1CN01VXUNxM1svHBmTbaQ1_!!3489055828.jpg\"/></p><div><div style=\"color: white;\"></div></div>",
"detailVedio": "https://cloud.video.taobao.com/play/u/1624961198/p/1/e/6/t/1/0.mp4",
"expireTime": "20340502012459000+0800",
"extendInfos": [
{
"key": "isSupportStepPay",
"value": "false"
},
{
"key": "isSupportMix",
"value": "true"
},
{
"key": "isAlipaySupported",
"value": "true"
},
{
"key": "isFactoryMemProcessingOffer",
"value": "false"
},
{
"key": "isOnePsale",
"value": "true"
},
{
"key": "buyerProtection",
"value": [
"ssbxsfh"
]
},
{
"key": "freepostage",
"value": "false"
}
],
"image": {
"images": [
"img/ibank/O1CN01Np5pgx1KijQz3gVdc_!!1624961198-0-cib.jpg",
"img/ibank/O1CN01CBQYjO1KijPiAlc5K_!!1624961198-0-cib.jpg",
"img/ibank/O1CN01LkmIga1KijPZhDYPP_!!1624961198-0-cib.jpg",
"img/ibank/O1CN01QAfqwR1KijPfHBgvY_!!1624961198-0-cib.jpg",
"img/ibank/O1CN01AbnkS81KijPjnKWAy_!!1624961198-0-cib.jpg"
]
},
"language": "CHINESE",
"lastUpdateTime": "20240504012459000+0800",
"mainVedio": "https://cloud.video.taobao.com/play/u/1624961198/p/1/e/6/t/1/458982213683.mp4",
"periodOfValidity": 3650,
"pictureAuth": false,
"productCargoNumber": "tb-762535733155",
"productID": 779796446274,
"productType": "wholesale",
"qualityLevel": 5,
"reserveInfo": {
"supportReserve": false
},
"saleInfo": {
"amountOnSale": 5759,
"deliveryLimit": 3,
"invReduceType": "2",
"minOrderQuantity": 2,
"mixWholeSale": true,
"priceAuth": false,
"priceRanges": [
{
"price": 99.36,
"startQuantity": 2
}
],
"quoteType": 1,
"saleType": "normal",
"supportOnlineTrade": true,
"unit": "件"
},
"sevenDaysRefunds": false,
"shippingInfo": {
"freightTemplateID": 18383093,
"sendGoodsAddressId": 34130769,
"sendGoodsAddressText": "广东省 深圳市",
"unitWeight": 1
},
"skuInfos": [
{
"amountOnSale": 257,
"attributes": [
{
"attributeDisplayName": "颜色",
"attributeID": 3216,
"attributeName": "颜色",
"attributeValue": "米色",
"skuImageUrl": "imgextra/i1/3489055828/O1CN01tpq1My1svHBjk300X_!!3489055828.jpg"
},
{
"attributeDisplayName": "尺码",
"attributeID": 450,
"attributeName": "尺码",
"attributeValue": "35"
}
],
"cargoNumber": "",
"consignPrice": 99.36,
"price": 99.36,
"skuCode": "5494928098913",
"skuId": 5494928098913,
"specId": "01f5bb95427bea1ec740bbfeac672399"
},
{
"amountOnSale": 854,
"attributes": [
{
"attributeDisplayName": "颜色",
"attributeID": 3216,
"attributeName": "颜色",
"attributeValue": "黑色",
"skuImageUrl": "imgextra/i1/3489055828/O1CN01agSrGA1svHBpWmaYB_!!3489055828.jpg"
},
{
"attributeDisplayName": "尺码",
"attributeID": 450,
"attributeName": "尺码",
"attributeValue": "35"
}
],
"cargoNumber": "",
"consignPrice": 99.36,
"price": 99.36,
"skuCode": "5494928098914",
"skuId": 5494928098914,
"specId": "9a319bccb4f6ad1dda7535f98f728834"
},
{
"amountOnSale": 377,
"attributes": [
{
"attributeDisplayName": "颜色",
"attributeID": 3216,
"attributeName": "颜色",
"attributeValue": "米色",
"skuImageUrl": "imgextra/i1/3489055828/O1CN01tpq1My1svHBjk300X_!!3489055828.jpg"
},
{
"attributeDisplayName": "尺码",
"attributeID": 450,
"attributeName": "尺码",
"attributeValue": "36"
}
],
"cargoNumber": "",
"consignPrice": 99.36,
"price": 99.36,
"skuCode": "5494928098915",
"skuId": 5494928098915,
"specId": "e5aac5f223d349ebce1144545cf6ff04"
},
{
"amountOnSale": 672,
"attributes": [
{
"attributeDisplayName": "颜色",
"attributeID": 3216,
"attributeName": "颜色",
"attributeValue": "黑色",
"skuImageUrl": "imgextra/i1/3489055828/O1CN01agSrGA1svHBpWmaYB_!!3489055828.jpg"
},
{
"attributeDisplayName": "尺码",
"attributeID": 450,
"attributeName": "尺码",
"attributeValue": "36"
}
],
"cargoNumber": "",
"consignPrice": 99.36,
"price": 99.36,
"skuCode": "5494928098916",
"skuId": 5494928098916,
"specId": "3aeab1a8a943887e495ecb51201d9c81"
},
{
"amountOnSale": 474,
"attributes": [
{
"attributeDisplayName": "颜色",
"attributeID": 3216,
"attributeName": "颜色",
"attributeValue": "米色",
"skuImageUrl": "imgextra/i1/3489055828/O1CN01tpq1My1svHBjk300X_!!3489055828.jpg"
},
{
"attributeDisplayName": "尺码",
"attributeID": 450,
"attributeName": "尺码",
"attributeValue": "37"
}
],
"cargoNumber": "",
"consignPrice": 99.36,
"price": 99.36,
"skuCode": "5494928098917",
"skuId": 5494928098917,
"specId": "6ae770fdaebcc86ba302e8579fb817e7"
},
{
"amountOnSale": 309,
"attributes": [
{
"attributeDisplayName": "颜色",
"attributeID": 3216,
"attributeName": "颜色",
"attributeValue": "黑色",
"skuImageUrl": "imgextra/i1/3489055828/O1CN01agSrGA1svHBpWmaYB_!!3489055828.jpg"
},
{
"attributeDisplayName": "尺码",
"attributeID": 450,
"attributeName": "尺码",
"attributeValue": "37"
}
],
"cargoNumber": "",
"consignPrice": 99.36,
"price": 99.36,
"skuCode": "5494928098918",
"skuId": 5494928098918,
"specId": "988984c04b103c093f25b4ecd71c7220"
},
{
"amountOnSale": 543,
"attributes": [
{
"attributeDisplayName": "颜色",
"attributeID": 3216,
"attributeName": "颜色",
"attributeValue": "米色",
"skuImageUrl": "imgextra/i1/3489055828/O1CN01tpq1My1svHBjk300X_!!3489055828.jpg"
},
{
"attributeDisplayName": "尺码",
"attributeID": 450,
"attributeName": "尺码",
"attributeValue": "38"
}
],
"cargoNumber": "",
"consignPrice": 99.36,
"price": 99.36,
"skuCode": "5494928098919",
"skuId": 5494928098919,
"specId": "9223aa067d446aae59df1f911e8696a5"
},
{
"amountOnSale": 475,
"attributes": [
{
"attributeDisplayName": "颜色",
"attributeID": 3216,
"attributeName": "颜色",
"attributeValue": "黑色",
"skuImageUrl": "imgextra/i1/3489055828/O1CN01agSrGA1svHBpWmaYB_!!3489055828.jpg"
},
{
"attributeDisplayName": "尺码",
"attributeID": 450,
"attributeName": "尺码",
"attributeValue": "38"
}
],
"cargoNumber": "",
"consignPrice": 99.36,
"price": 99.36,
"skuCode": "5494928098920",
"skuId": 5494928098920,
"specId": "24a8dfcd3e63f946b66b8a1713ac8c51"
},
{
"amountOnSale": 606,
"attributes": [
{
"attributeDisplayName": "颜色",
"attributeID": 3216,
"attributeName": "颜色",
"attributeValue": "米色",
"skuImageUrl": "imgextra/i1/3489055828/O1CN01tpq1My1svHBjk300X_!!3489055828.jpg"
},
{
"attributeDisplayName": "尺码",
"attributeID": 450,
"attributeName": "尺码",
"attributeValue": "39"
}
],
"cargoNumber": "",
"consignPrice": 99.36,
"price": 99.36,
"skuCode": "5494928098921",
"skuId": 5494928098921,
"specId": "46feb3900c84afd9c196e2c0855d93b5"
},
{
"amountOnSale": 534,
"attributes": [
{
"attributeDisplayName": "颜色",
"attributeID": 3216,
"attributeName": "颜色",
"attributeValue": "黑色",
"skuImageUrl": "imgextra/i1/3489055828/O1CN01agSrGA1svHBpWmaYB_!!3489055828.jpg"
},
{
"attributeDisplayName": "尺码",
"attributeID": 450,
"attributeName": "尺码",
"attributeValue": "39"
}
],
"cargoNumber": "",
"consignPrice": 99.36,
"price": 99.36,
"skuCode": "5494928098922",
"skuId": 5494928098922,
"specId": "409e988ccd22beae7ed1373859c47d15"
},
{
"amountOnSale": 229,
"attributes": [
{
"attributeDisplayName": "颜色",
"attributeID": 3216,
"attributeName": "颜色",
"attributeValue": "米色",
"skuImageUrl": "imgextra/i1/3489055828/O1CN01tpq1My1svHBjk300X_!!3489055828.jpg"
},
{
"attributeDisplayName": "尺码",
"attributeID": 450,
"attributeName": "尺码",
"attributeValue": "40"
}
],
"cargoNumber": "",
"consignPrice": 99.36,
"price": 99.36,
"skuCode": "5494928098923",
"skuId": 5494928098923,
"specId": "f0aa443e3efd9a0bb26e683c6e83f257"
},
{
"amountOnSale": 429,
"attributes": [
{
"attributeDisplayName": "颜色",
"attributeID": 3216,
"attributeName": "颜色",
"attributeValue": "黑色",
"skuImageUrl": "imgextra/i1/3489055828/O1CN01agSrGA1svHBpWmaYB_!!3489055828.jpg"
},
{
"attributeDisplayName": "尺码",
"attributeID": 450,
"attributeName": "尺码",
"attributeValue": "40"
}
],
"cargoNumber": "",
"consignPrice": 99.36,
"price": 99.36,
"skuCode": "5494928098924",
"skuId": 5494928098924,
"specId": "f279f76ad1b737009211a09179cb4d19"
}
],
"status": "published",
"subject": "1春季配裙子小白鞋女2024新款春秋鞋子女轻便百搭休闲厚底运动板1"
}
},
"trace_id": ""
}
说明: code为0表示成功,非0为失败,message会包含失败原因。 返回字段说明见文档
文档更新时间: 2024-05-06 21:57 作者:admin