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

商品列表

GET
/api/goods/list
商品接口
商品列表

请求参数

Query 参数
appId
string 
渠道ID
必需
category
string 
category
可选
keywords
string 
keywords
可选
nonce
string 
随机字符串
必需
page
integer 
page
可选
sign
string 
签名
必需
size
integer 
size
可选
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/list?appId=&nonce=&sign=&timestamp='

返回响应

🟢200OK
application/json
Body
list
array[object (GoodsData) {17}] 
可选
banners
array[string]
商品轮播图
可选
goodsDesc
string 
商品描述
可选
goodsIcon
string 
商品图标
可选
goodsId
string 
商品id
可选
goodsName
string 
商品名称
可选
goodsNo
string 
商品编号
可选
headImg
string 
商品封面
可选
htmlUrl
string 
图文地址
可选
items
array[object (商品套餐) {6}] 
商品套餐
可选
originPrice
integer <int64>
门市价 单位:分
必需
salePrice
integer <int64>
销售价 单位:分
必需
services
array[object (商品服务保障) {3}] 
服务保障
可选
settlePrice
integer <int64>
结算价 单位:分
必需
showBookingTime
boolean 
下单预约时间
可选
showPickAddress
boolean 
下单取货地址
可选
showReceiveAddress
boolean 
下单收货地址
可选
subCategory
object (CategoryData) 
可选
total
integer <int64>
可选
示例
{
  "list": [
    {
      "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"
        ]
      }
    }
  ],
  "total": 0
}
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
上一页
京东商品分类
下一页
商品详情
Built with