待评价订单商品

待评价订单商品

请求地址

GET https://{host}/openapi/order/goods

请求参数

属性 类型 默认值 必填 说明
x-token String 用户token

param

属性 类型 默认值 必填 说明
orderId int 订单id
goodsId int 商品id

返回值

{
  "errcode": "0",
  "errmsg": "",
  "data": {
    "id": 14,
    "orderId": 14,
    "goodsId": 1057036,
    "goodsName": "日式纯色水洗亚麻抱枕",
    "goodsSn": "1057036",
    "productId": 71,
    "number": 1,
    "price": 79.0000,
    "specificationList": ["标准"],
    "picUrl": "http://yanxuan.nosdn.127.net/8a9ee5ba08929cc9e40b973607d2f633.png",
    "comment": 0
    }
}

参数说明

属性 类型 说明
data DATA 包含返回的数据
errcode number 错误码
errmsg string 错误信息

DATA

属性 类型 说明
id int 订单商品id
orderId int 订单id
goodsId int 商品id
goodsName String 商品名称
goodsSn String 商品编号
productId int skuid
number int 商品数量
price BigDecimal 商品价格
specificationList list(String) 商品规格
picUrl String 商品图片
comment int 评论数量

errcode 的合法值

说明 最低版本
-1 系统错误
0 请求成功
20001 参数为空
20003 参数错误

results matching ""

    No results matching ""