京东服务+
  1. 商品接口
京东服务+
  • 接口安全
  • 业务流程
  • 订单回调
  • 接口注意事项
  • 商品接口
    • 京东商品分类
      GET
    • 商品列表
      GET
    • 商品详情
      GET
    • 日历接口
      POST
  • 订单接口
    • 订单详情
      GET
    • 商品下单
      POST
    • 客服链接
      GET
    • 订单服务进度
      GET
    • 退单
      POST
  • 渠道账号
    • 账户余额
      GET
  1. 商品接口

商品详情

GET
/api/goods
商品接口
商品详情

请求参数

Query 参数
appId
string 
渠道ID
必需
goodsId
string 
goodsId
必需
nonce
string 
随机字符串
必需
sign
string 
签名
必需
timestamp
string 
时间戳
必需

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/api/goods?appId=&goodsId=&nonce=&sign=&timestamp='

返回响应

🟢200OK
application/json
Body
banners
array[string]
商品轮播图
可选
goodsDesc
string 
商品描述
可选
goodsIcon
string 
商品图标
可选
goodsId
string 
商品id
可选
goodsName
string 
商品名称
可选
goodsNo
string 
商品编号
可选
headImg
string 
商品封面
可选
htmlUrl
string 
图文地址
可选
items
array[object (商品套餐) {6}] 
商品套餐
可选
itemId
string 
套餐id
可选
itemName
string 
套餐名称
可选
itemPic
string 
套餐图标
可选
originPrice
integer <int64>
市场价
可选
salePrice
integer <int64>
销售价
可选
settlePrice
integer <int64>
结算价
可选
originPrice
integer <int64>
门市价 单位:分
必需
salePrice
integer <int64>
销售价 单位:分
必需
services
array[object (商品服务保障) {3}] 
服务保障
可选
description
string 
服务保障描述
可选
icon
string 
服务保障图标
可选
name
string 
服务保障名称
可选
settlePrice
integer <int64>
结算价 单位:分
必需
showBookingTime
boolean 
下单预约时间
可选
showPickAddress
boolean 
下单取货地址
可选
showReceiveAddress
boolean 
下单收货地址
可选
subCategory
object (CategoryData) 
可选
children
array[object (CategoryData) {5}] 
子集分类
可选
code
string 
分类编码
必需
icon
string 
分类图标
可选
name
string 
分类名称
必需
photoList
array[string]
分类图片
可选
示例
{
  "banners": [
    "string"
  ],
  "goodsDesc": "string",
  "goodsIcon": "string",
  "goodsId": "string",
  "goodsName": "string",
  "goodsNo": "string",
  "headImg": "string",
  "htmlUrl": "string",
  "items": [
    {
      "itemId": "string",
      "itemName": "string",
      "itemPic": "string",
      "originPrice": 0,
      "salePrice": 0,
      "settlePrice": 0
    }
  ],
  "originPrice": 0,
  "salePrice": 0,
  "services": [
    {
      "description": "string",
      "icon": "string",
      "name": "string"
    }
  ],
  "settlePrice": 0,
  "showBookingTime": true,
  "showPickAddress": true,
  "showReceiveAddress": true,
  "subCategory": {
    "children": [
      {}
    ],
    "code": "string",
    "icon": "string",
    "name": "string",
    "photoList": [
      "string"
    ]
  }
}
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
上一页
商品列表
下一页
日历接口
Built with