LanTongOptimization-接口文档

澜通云优选服务接口说明


查询商品详情

[TOC]

简要描述
请求URL
  • /lantong-optimization/optimizationSkuApp/getDetail
请求方式
  • requestMethod: POST
请求参数
参数名 必选 类型 说明
categoryId string 商品分类
sku string 商品编号,只支持单个查询
queryExts string 商品维度扩展字段,可以为空,但请求时要带有该参数
language string 可以为空,但请求时要带有该参数(zh.中文 en.英文 kn.柬文)
返回示例
{
  "code": 200,
  "success": true,
  "data": {
    "saleUnit": "支",
    "weight": 0.25,
    "productArea": "中国大陆",
    "wareQD": "PG-845大容量黑色墨盒*1,CL-846大容量彩色墨盒*1",
    "imagePath": "http://img13.360buyimg.com/n1/s450x550_jfs/t1/87395/32/13224/598655/5e572a6fEc77a21f7/61dcba847ee6cc54.png",
    "state": "1",
    "yxState": "1",
    "sku": "3728067",
    "spuId": 3728067,
    "brandName": "得印(befon)",
    "upc": "",
    "category": "21080",
    "name": "得印(befon)PG-845/CL-846大容量墨盒套装(适用佳能MG3080/MG2580/MG2400/MG2500/MX498/iP2880)",
    "introduction": "<div cssurl='//sku-market-gw.jd.com/css/pc/3728067.css?t=1615771339747'></div><div id='zbViewModulesH'  value='4801'></div><input id='zbViewModulesHeight' type='hidden' value='4801'/><div skudesign=\"100010\"></div><div class=\"ssd-module-wrap\" >            <div class=\"ssd-module M161559901198910 animate-M161559901198910\" data-id=\"M161559901198910\">        </div><div class=\"ssd-module M161559901202612 animate-M161559901202612\" data-id=\"M161559901202612\">        </div><div class=\"ssd-module M16155986774675 animate-M16155986774675\" data-id=\"M16155986774675\">        </div><div class=\"ssd-module M16155986777986 animate-M16155986777986\" data-id=\"M16155986777986\">        </div><div class=\"ssd-module M16155986780488 animate-M16155986780488\" data-id=\"M16155986780488\">        </div><div class=\"ssd-module M16155986782749 animate-M16155986782749\" data-id=\"M16155986782749\">        </div><div class=\"ssd-module M16155986770842 animate-M16155986770842\" data-id=\"M16155986770842\">        </div><div class=\"ssd-module M16155986767521 animate-M16155986767521\" data-id=\"M16155986767521\">        </div><div class=\"ssd-module M16155986772363 animate-M16155986772363\" data-id=\"M16155986772363\">        </div>    </div><!-- 2021-03-13 09:30:20 --> ",
    "sellPrice": "196.00",
    "sellPriceUS": "29.89",
    "stock": "",
    "gzStock": "0",
    "jbStock": "0",
    "star": 0,
    "commentNum": 0,
    "skuImage": [
      {
        "id": 1679540744037,
        "skuId": "3728067",
        "path": "http://img13.360buyimg.com/n1/s450x550_jfs/t1/147186/15/27887/133064/62765a5cE77d7fd4b/37c0bc48e999bad3.jpg",
        "created": "",
        "modified": "",
        "yn": "1",
        "isPrimary": "1",
        "orderSort": "",
        "position": "",
        "type": "0",
        "features": ""
      },
      {
        "id": 1679539166693,
        "skuId": "3728067",
        "path": "http://img13.360buyimg.com/n1/s450x550_jfs/t1/186664/32/25732/258930/62a06adbE2caf7b0c/7d9da1160a0a25cd.jpg",
        "created": "",
        "modified": "",
        "yn": "1",
        "isPrimary": "0",
        "orderSort": "",
        "position": "",
        "type": "0",
        "features": ""
      },
      {
        "id": 1679544593975,
        "skuId": "3728067",
        "path": "http://img13.360buyimg.com/n1/s450x550_jfs/t1/4585/10/17039/290905/62765a5cE3a813bf2/3df7f5f8adb586a1.jpg",
        "created": "",
        "modified": "",
        "yn": "1",
        "isPrimary": "0",
        "orderSort": "",
        "position": "",
        "type": "0",
        "features": ""
      },
      {
        "id": 1679542951244,
        "skuId": "3728067",
        "path": "http://img13.360buyimg.com/n1/s450x550_jfs/t1/153820/6/21751/358384/62765a5cE97a819dc/2990bd3275b60a53.jpg",
        "created": "",
        "modified": "",
        "yn": "1",
        "isPrimary": "0",
        "orderSort": "",
        "position": "",
        "type": "0",
        "features": ""
      },
      {
        "id": 1679542709989,
        "skuId": "3728067",
        "path": "http://img13.360buyimg.com/n1/s450x550_jfs/t1/172263/33/22104/385301/62765a5cE98475305/a22f65551135efcb.jpg",
        "created": "",
        "modified": "",
        "yn": "1",
        "isPrimary": "0",
        "orderSort": "",
        "position": "",
        "type": "0",
        "features": ""
      },
      {
        "id": 1679542845281,
        "skuId": "3728067",
        "path": "http://img13.360buyimg.com/n1/s450x550_jfs/t1/110774/23/25950/153062/627643c0E3062325f/5fbd5eace1a6f0d1.jpg",
        "created": "",
        "modified": "",
        "yn": "1",
        "isPrimary": "0",
        "orderSort": "",
        "position": "",
        "type": "0",
        "features": ""
      },
      {
        "id": 1679547516853,
        "skuId": "3728067",
        "path": "http://img13.360buyimg.com/n1/s450x550_jfs/t5683/250/3027981967/324290/c4225c96/59365074Nf2bff792.jpg",
        "created": "",
        "modified": "",
        "yn": "1",
        "isPrimary": "0",
        "orderSort": "",
        "position": "",
        "type": "0",
        "features": ""
      },
      {
        "id": 1679538562128,
        "skuId": "3728067",
        "path": "http://img13.360buyimg.com/n1/s450x550_jfs/t5656/143/3002063678/167613/81c78dc8/59364f53N0b67872b.jpg",
        "created": "",
        "modified": "",
        "yn": "1",
        "isPrimary": "0",
        "orderSort": "",
        "position": "",
        "type": "0",
        "features": ""
      },
      {
        "id": 1679542011952,
        "skuId": "3728067",
        "path": "http://img13.360buyimg.com/n1/s450x550_jfs/t5716/189/3029317097/157261/a71b7e02/5936506eN1e78caaf.jpg",
        "created": "",
        "modified": "",
        "yn": "1",
        "isPrimary": "0",
        "orderSort": "",
        "position": "",
        "type": "0",
        "features": ""
      }
    ],
    "introductionImgs": [
      "http://img30.360buyimg.com/sku/jfs/t1/73596/7/17784/154287/62765b66Ea71d6b46/2f1ddf5b806657c5.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/184733/2/24115/294200/62765b66E7aedabde/02e41fa05c616faf.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/147458/37/26274/230898/62765b66E75ac879b/d6efcd0015703dcd.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/192049/39/24584/238765/62765b66Ecd78dc57/f32436af99677cee.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/218716/11/18864/261382/62765b66E38c00026/7468e6b19526bc6a.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/219815/39/17753/258990/6279bef1E0e0453a7/a5032a0ca53c1e60.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/84193/13/18438/336825/62765b67E700cb670/3832188f633ab027.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/219446/6/17721/358627/62765b67E83dbe20d/02759cca38496bc2.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/95131/14/29874/193570/62765b67Ef314d992/40f64ea17a811dc7.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/137367/2/28866/140918/62765b67E442516b5/db65c5874fe6b1e9.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/174249/29/24152/373054/62765b67Ee47e98c1/ada00fbd341e678f.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/110435/7/27826/192894/62765b67E6a580d94/3b900e8846e41d8e.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/4291/15/17654/296508/62765b67E74aff394/fb08bc55408b1507.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/114968/24/27586/165876/62765b67Ea9dc1566/c19cb390d903bc87.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/194527/35/23011/285803/62765b67E47ebdc01/13ffdf8326e5455d.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/99735/36/28192/106213/62765b67E26e354ba/9cb95c5a1b0c3c4b.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/127399/34/28908/268951/6279be3aE14add8ef/17044e2890ec0a36.jpg",
      "http://img30.360buyimg.com/sku/jfs/t1/83779/20/18584/116417/6279c274E15cd8793/baf8c94d04e5c4e3.jpg"
    ],
    "paramDetailJson": [],
    "nappintroduction": "<div cssurl='//sku-market-gw.jd.com/css/pc/3728067.css?t=1615771339747'></div><div id='zbViewModulesH'  value='4801'></div><input id='zbViewModulesHeight' type='hidden' value='4801'/><div skudesign=\"100010\"></div><div class=\"ssd-module-wrap\" >\n            <div class=\"ssd-module M161559901198910 animate-M161559901198910\" data-id=\"M161559901198910\">\n        \n</div>\n<div class=\"ssd-module M161559901202612 animate-M161559901202612\" data-id=\"M161559901202612\">\n        \n</div>\n<div class=\"ssd-module M16155986774675 animate-M16155986774675\" data-id=\"M16155986774675\">\n        \n</div>\n<div class=\"ssd-module M16155986777986 animate-M16155986777986\" data-id=\"M16155986777986\">\n        \n</div>\n<div class=\"ssd-module M16155986780488 animate-M16155986780488\" data-id=\"M16155986780488\">\n        \n</div>\n<div class=\"ssd-module M16155986782749 animate-M16155986782749\" data-id=\"M16155986782749\">\n        \n</div>\n<div class=\"ssd-module M16155986770842 animate-M16155986770842\" data-id=\"M16155986770842\">\n        \n</div>\n<div class=\"ssd-module M16155986767521 animate-M16155986767521\" data-id=\"M16155986767521\">\n        \n</div>\n<div class=\"ssd-module M16155986772363 animate-M16155986772363\" data-id=\"M16155986772363\">\n        \n</div>\n\n    </div>\n<!-- 2021-03-13 09:30:20 --> ",
    "airOrLand": 1,
    "salesTerritory": 0,
    "picked": 0,
    "wareCode": ""
  },
  "msg": "操作成功"
}
返回参数说明
参数名 说明 类型
airOrLand 空运商品或者陆运(1->陆运;2->空运;3->空运和陆运) integer(int32)
brandName 品牌名称 string
category 分类 示例"670;729;4837" string
commentNum 评论数量 integer(int32)
gzStock 商品库存(广州仓库) string
imagePath 主图 string
introduction 商品详情页大字段 string
introductionImgs 商品详情大字段图片 array
jbStock 商品库存(金边仓库) string
name 商品名称 string
nappintroduction 移动端商品详情大字段 string
paramDetailJson 获取结构化商品属性数据(同京东官网样式) array ParamDetailJson
atts 属性分组名字 array Atts
attName 属性名字 string
vals 属性值 array string
groupName 属性分组名字 string
picked 精选(0:非精选;1:精选) integer(int32)
productArea 产地 string
saleUnit 售卖单位 string
salesTerritory 销售地区(0->中国即柬埔寨;1->中国;2->柬埔寨) integer(int32)
sellPrice 商品售卖价 number
sellPriceUS 商品售卖价(美元) number
sku 商品编号 string
skuImage 商品图片列表 array 商品详情对象(实物)
created 创建日期 string
features 特征 string
id 编号 integer(int64)
isPrimary 是否主图 1:是 0:否 string
modified 更新时间 string
orderSort 排序 string
path 图片路径 string
position 位置 string
skuId sku编号 string
type 类型(0方图 1长图【服装】) string
yn 0:不可用;1:可用 string
spuId 商品spuId integer(int64)
star 商品评论星级 number(double)
state 主站上下架状态 (1上架 0下架) string
stock 商品库存 string
upc UPC码 区分实物、图书、音像、三种场景 string
wareCode 库存编码 string
wareQD 包装清单 string
weight 重量 number(double)
yxState 主站上下架状态 (1上架 0下架) string
code码说明
code 说明
200 操作成功
500 加载失败

页面列表

ITEM_HTML