售后单列表

简要描述
  • 售后单列表
请求url
  • https://www.商城域名.com/index.php?s=/api/refund/list
请求方式
  • GET
是否需授权登录
请求header
参数名 类型 是否必须 示例值 说明
storeId int 必填 10001 商城ID
platform string 必填 H5 当前请求的客户端(APP、小程序、H5等)
Access-Token string 选填 - 当前登录用户的 Token
请求参数
参数名 类型 是否必须 示例值 说明
state int 必填 - 售后单状态 (-1全部 0进行中 10已拒绝 20已完成 30已取消)
page int 选填 1 当前页码
返回示例
{
  "status": 200,
  "message": "success",
  "data": {
    "list": {
      "total": 2,
      "per_page": 15,
      "current_page": 1,
      "last_page": 1,
      "data": [
        {
          "order_refund_id": 6,
          "order_id": 10195,
          "order_goods_id": 10192,
          "user_id": 10125,
          "type": 10,
          "apply_desc": "",
          "audit_status": 10,
          "refuse_desc": "",
          "refund_money": "0.00",
          "is_user_send": 1,
          "send_time": "2022-01-19 10:31:09",
          "express_id": "10002",
          "express_no": "12124141241",
          "is_receipt": 0,
          "status": 0,
          "create_time": "2022-01-19 10:30:00",
          "orderGoods": {},
          "state_text": "已发货,待平台确认"
        },
        {
          "order_refund_id": 5,
          "order_id": 10192,
          "order_goods_id": 10188,
          "user_id": 10125,
          "type": 10,
          "apply_desc": "123123",
          "audit_status": 0,
          "refuse_desc": "",
          "refund_money": "0.00",
          "is_user_send": 0,
          "send_time": "",
          "express_id": "",
          "express_no": "",
          "is_receipt": 0,
          "status": 0,
          "create_time": "2022-01-14 00:40:45",
          "orderGoods": {
            "order_goods_id": 10188,
            "goods_id": 10018,
            "goods_name": "简约风条纹客厅沙发卧室床头抱枕靠垫套",
            "image_id": 10389,
            "deduct_stock_type": 10,
            "spec_type": 10,
            "goods_sku_id": "0",
            "goods_props": null,
            "goods_no": "",
            "goods_price": "0.01",
            "line_price": "129.00",
            "goods_weight": 0.8,
            "is_user_grade": 0,
            "grade_ratio": 0,
            "grade_goods_price": "0.00",
            "grade_total_money": "0.00",
            "coupon_money": "0.00",
            "points_money": "0.00",
            "points_num": 0,
            "points_bonus": 0,
            "total_num": 1,
            "total_price": "12.90",
            "total_pay_price": "12.90",
            "delivery_status": 10,
            "delivery_num": 0,
            "is_comment": 0,
            "order_id": 10192,
            "user_id": 10125,
            "goods_source_id": 10028,
            "goods_image": "41cdb778199f99ebebb6090680f382fc.png"
          },
          "state_text": "等待审核中"
        }
      ]
    }
  }
}
返回参数
参数名 类型 示例值 说明
status int 200 请求状态(200:请求成功;500:请求错误/失败)
message string success 请求结果的信息,默认为 success
data object - 返回的业务数据
data 参数
参数名 类型 示例值 说明
list object - 列表数据
data.list 参数
参数名 类型 示例值 说明
total int 2 总记录数
per_page int 15 每页数量
current_page int 1 当前页码
last_page int 1 最后页码
data array - 列表数组
data.list.data 参数
参数名 类型 示例值 说明
order_refund_id int 6 售后单ID
order_id int 10195 订单ID
order_goods_id int 10192 订单商品ID
user_id int 10125 用户ID
type int 10 售后类型 (10退货退款 20换货)
apply_desc string - 用户申请原因(说明)
audit_status int 10 商家审核状态 (0待审核 10已同意 20已拒绝)
refuse_desc string - 商家拒绝原因(说明)
refund_money string 0.00 实际退款金额
is_user_send int 1 用户是否发货 (0未发货 1已发货)
send_time string 2022-01-19 10:31:09 用户发货时间
express_id string 10002 用户发货物流公司ID
express_no string 12124141241 用户发货物流单号
is_receipt int - 商家收货状态 (0未收货 1已收货)
status int - 售后单状态 (0进行中 10已拒绝 20已完成 30已取消)
create_time string 2022-01-19 10:30:00 创建时间
orderGoods object - 售后单商品信息
state_text string 已发货,待平台确认 售后单状态 (文字)