退换货详情
接口描述:
- 退换货详情(suppliers/applyreturn)
接口版本:
版本号 | 制定人 | 制定日期 | 修订日期 |
---|---|---|---|
1.4.1 | wanganlin | 2017-03-20 | 2019-11-12 |
请求URL:
- http://domain/api/v4/suppliers/applyreturn
请求方式:
- GET
请求头:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
Content-Type | 是 | String | 请求类型: application/json |
token | 是 | String | 请求内容签名 |
请求参数:
参数名 | 是否必须 | 默认值 | 类型 | 说明 |
---|---|---|---|---|
order_id | 是 | String | 订单id | |
rec_id | 是 | String | 订单商品id |
返回示例:
正确时返回:
{
"status": "success",
"data": {
"order": {
"order_id": 134,
"main_order_id": 133,
"order_sn": "2020010910643364248",
"user_id": 60,
"order_status": 1,
"consignee": "admin123",
"country": 1,
"province": 310000,
"city": 659009504,
"district": 310104,
"street": 310104003,
"address": "111111111111",
"mobile": "18217233896",
"email": "",
"postscript": "",
"inv_payee": "个人",
"inv_content": "不开发票",
"order_amount": "400.00",
"add_time": 1578509855,
"extension_code": "",
"inv_type": "0",
"tax": "0.00",
"is_delete": 0,
"invoice_type": 0,
"vat_id": 0,
"tax_id": "0",
"pay_id": 11,
"pay_status": 2,
"pay_time": "2020-01-09 10:57:35",
"pay_fee": "0.00",
"shipping_status": 0,
"shipping_id": "",
"shipping_name": "",
"shipping_code": "",
"shipping_time": 0,
"suppliers_id": 6,
"is_settlement": 0,
"invoice_no": "",
"is_refund": 0,
"return_amount": "0.00",
"chargeoff_status": 0,
"zipcode": "",
"tel": "",
"best_time": "",
"sign_building": "",
"goods_amount": "400.00",
"money_paid": "0.00",
"surplus": "0.00",
"adjust_fee": "0.00",
"get_region_province": {
"region_id": 310000,
"region_name": "上海市"
},
"get_region_city": {
"region_id": 659009504,
"region_name": "上海市"
},
"get_region_district": {
"region_id": 310104,
"region_name": "徐汇区"
},
"get_region_street": {
"region_id": 310104003,
"region_name": "天平路街道"
},
"formated_adjust_fee": "¥0.00",
"formated_goods_amount": "¥400.00",
"formated_order_amount": "¥400.00",
"formated_add_time": "2020-01-09 10:57:35",
"ru_id": 1,
"pay_name": "余额支付",
"pay_code": "balance",
"region": "上海市 上海市 徐汇区 天平路街道"
},
"return_allowable": 0,
"goods_info": {
"rec_id": 70,
"order_id": 134,
"goods_id": 138,
"goods_name": "30粒蒲江特产奇异果中小果应季猕猴桃礼盒装 新鲜水果",
"goods_sn": "dscx000138",
"product_id": 51,
"goods_number": 2,
"market_price": "0.00",
"goods_price": "¥200.00",
"goods_attr": "颜色:红色\n尺寸:M\n",
"send_number": 0,
"is_real": 0,
"extension_code": "",
"goods_attr_id": "62,64",
"shipping_fee": "0.00",
"freight": 0,
"tid": 0,
"goods_price1": "200.00",
"subtotal": "¥400.00",
"suppliers_name": "万卓ecmoban",
"user_name": "万卓旗舰店",
"kf_type": 0,
"kf_qq": "349488953",
"kf_ww": "",
"goods_img": "http://www.hbf.dscmall.zhuo/storage/data/gallery_album/100/images/100_P_1554157672681.jpg",
"goods_thumb": "http://www.hbf.dscmall.zhuo/storage/data/gallery_album/100/thumb_img/100_thumb_G_1554157672088.jpg",
"url": "http://www.hbf.dscmall.zhuo/wholesale_goods.php?id=138"
},
"goods_return": {
"rec_id": 70,
"order_id": 134,
"goods_id": 138,
"goods_name": "30粒蒲江特产奇异果中小果应季猕猴桃礼盒装 新鲜水果",
"goods_sn": "dscx000138",
"product_id": 51,
"goods_number": 2,
"market_price": "0.00",
"goods_price": "¥200.00",
"goods_attr": "颜色:红色\n尺寸:M\n",
"send_number": 0,
"is_real": 0,
"extension_code": "",
"goods_attr_id": "62,64",
"shipping_fee": "0.00",
"freight": 0,
"tid": 0,
"goods_price1": "200.00",
"subtotal": "¥400.00",
"suppliers_name": "万卓ecmoban",
"user_name": "万卓旗舰店",
"kf_type": 0,
"kf_qq": "349488953",
"kf_ww": "",
"goods_img": "http://www.hbf.dscmall.zhuo/storage/data/gallery_album/100/images/100_P_1554157672681.jpg",
"goods_thumb": "http://www.hbf.dscmall.zhuo/storage/data/gallery_album/100/thumb_img/100_thumb_G_1554157672088.jpg",
"url": "http://www.hbf.dscmall.zhuo/wholesale_goods.php?id=138"
},
"consignee": {
"address_id": 118,
"address_name": "",
"user_id": 60,
"consignee": "admin123",
"email": "",
"country": 1,
"province": 310000,
"city": 659009504,
"district": 310104,
"street": 310104003,
"address": "111111111111",
"zipcode": "",
"tel": "",
"mobile": "18217233896",
"sign_building": "",
"best_time": "",
"audit": 0,
"update_time": 0,
"rel_name": "111",
"id_num": "1111",
"province_name": "上海市",
"city_name": "上海市",
"district_name": "徐汇区",
"street_name": "天平路街道",
"region": "上海市 上海市 徐汇区 天平路街道"
},
"show_goods_thumb": "3",
"show_attr_in_cart": "1",
"order_id": 134,
"order_sn": "2020010910643364248",
"country_list": [
{
"region_id": 1,
"parent_id": 0,
"region_name": "中国",
"region_type": 0,
"agency_id": 0
}
],
"province_list": [
{
"region_id": 110000,
"parent_id": 1,
"region_name": "北京市",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 120000,
"parent_id": 1,
"region_name": "天津市",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 130000,
"parent_id": 1,
"region_name": "河北省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 140000,
"parent_id": 1,
"region_name": "山西省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 150000,
"parent_id": 1,
"region_name": "内蒙古",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 210000,
"parent_id": 1,
"region_name": "辽宁省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 220000,
"parent_id": 1,
"region_name": "吉林省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 230000,
"parent_id": 1,
"region_name": "黑龙江省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 310000,
"parent_id": 1,
"region_name": "上海市",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 320000,
"parent_id": 1,
"region_name": "江苏省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 330000,
"parent_id": 1,
"region_name": "浙江省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 340000,
"parent_id": 1,
"region_name": "安徽省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 350000,
"parent_id": 1,
"region_name": "福建省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 360000,
"parent_id": 1,
"region_name": "江西省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 370000,
"parent_id": 1,
"region_name": "山东省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 410000,
"parent_id": 1,
"region_name": "河南省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 420000,
"parent_id": 1,
"region_name": "湖北省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 430000,
"parent_id": 1,
"region_name": "湖南省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 440000,
"parent_id": 1,
"region_name": "广东省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 450000,
"parent_id": 1,
"region_name": "广西省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 460000,
"parent_id": 1,
"region_name": "海南省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 500000,
"parent_id": 1,
"region_name": "重庆市",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 510000,
"parent_id": 1,
"region_name": "四川省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 520000,
"parent_id": 1,
"region_name": "贵州省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 530000,
"parent_id": 1,
"region_name": "云南省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 540000,
"parent_id": 1,
"region_name": "西藏自治区",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 610000,
"parent_id": 1,
"region_name": "陕西省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 620000,
"parent_id": 1,
"region_name": "甘肃省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 630000,
"parent_id": 1,
"region_name": "青海省",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 640000,
"parent_id": 1,
"region_name": "宁夏自治区",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 650000,
"parent_id": 1,
"region_name": "新疆自治区",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 710000,
"parent_id": 1,
"region_name": "台湾",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 810000,
"parent_id": 1,
"region_name": "香港",
"region_type": 1,
"agency_id": 0
},
{
"region_id": 820000,
"parent_id": 1,
"region_name": "澳门",
"region_type": 1,
"agency_id": 0
}
],
"city_list": [
{
"region_id": 659009504,
"parent_id": 310000,
"region_name": "上海市",
"region_type": 2,
"agency_id": 0
}
],
"district_list": [
{
"region_id": 659009504,
"parent_id": 310000,
"region_name": "上海市",
"region_type": 2,
"agency_id": 0
}
],
"street_list": [
{
"region_id": 310104003,
"parent_id": 310104,
"region_name": "天平路街道",
"region_type": 4,
"agency_id": 0
},
{
"region_id": 310104004,
"parent_id": 310104,
"region_name": "湖南路街道",
"region_type": 4,
"agency_id": 0
},
{
"region_id": 310104007,
"parent_id": 310104,
"region_name": "斜土路街道",
"region_type": 4,
"agency_id": 0
},
{
"region_id": 310104008,
"parent_id": 310104,
"region_name": "枫林路街道",
"region_type": 4,
"agency_id": 0
},
{
"region_id": 310104010,
"parent_id": 310104,
"region_name": "长桥街道",
"region_type": 4,
"agency_id": 0
},
{
"region_id": 310104011,
"parent_id": 310104,
"region_name": "田林街道",
"region_type": 4,
"agency_id": 0
},
{
"region_id": 310104012,
"parent_id": 310104,
"region_name": "虹梅路街道",
"region_type": 4,
"agency_id": 0
},
{
"region_id": 310104013,
"parent_id": 310104,
"region_name": "康健新村街道",
"region_type": 4,
"agency_id": 0
},
{
"region_id": 310104014,
"parent_id": 310104,
"region_name": "徐家汇街道",
"region_type": 4,
"agency_id": 0
},
{
"region_id": 310104015,
"parent_id": 310104,
"region_name": "凌云路街道",
"region_type": 4,
"agency_id": 0
},
{
"region_id": 310104016,
"parent_id": 310104,
"region_name": "龙华街道",
"region_type": 4,
"agency_id": 0
},
{
"region_id": 310104017,
"parent_id": 310104,
"region_name": "漕河泾街道",
"region_type": 4,
"agency_id": 0
},
{
"region_id": 310104103,
"parent_id": 310104,
"region_name": "华泾镇",
"region_type": 4,
"agency_id": 0
}
],
"goods_cause": [
{
"cause": "0",
"lang": "维修",
"is_checked": 1
},
{
"cause": "1",
"lang": "退货",
"is_checked": 0
},
{
"cause": "2",
"lang": "换货",
"is_checked": 0
},
{
"cause": "3",
"lang": "仅退款",
"is_checked": 0
}
],
"img_list": [],
"return_pictures": "10",
"parent_cause": [
{
"cause_id": 19,
"cause_name": "色差",
"parent_id": 0,
"haschild": 1,
"level": 1,
"child_tree": [
{
"cause_id": 20,
"cause_name": "次要原因",
"parent_id": 19,
"haschild": 1,
"level": 2,
"child_tree": [
{
"cause_id": 22,
"cause_name": "大小",
"parent_id": 20,
"haschild": 0,
"level": 3
}
]
}
]
},
{
"cause_id": 21,
"cause_name": "意外损坏",
"parent_id": 0,
"haschild": 1,
"level": 1,
"child_tree": [
{
"cause_id": 23,
"cause_name": "2222",
"parent_id": 21,
"haschild": 1,
"level": 2,
"child_tree": [
{
"cause_id": 24,
"cause_name": "333",
"parent_id": 23,
"haschild": 0,
"level": 3
}
]
}
]
},
{
"cause_id": 25,
"cause_name": "质量问题",
"parent_id": 0,
"haschild": 0,
"level": 1
}
]
},
"time": 1578553094
}
错误时返回:
{
"status": 'failed',
"errors": {
"code": 404,
"message": "message"
},
"time": 1553515084
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
order | List[] | |
├─ order_id | Number | 订单id |
├─ main_order_id | Number | 子订单id |
├─ order_sn | String | 订单号 |
├─ user_id | Number | 会员id |
├─ order_status | Number | 订单状态 |
├─ consignee | String | 收货人地址 |
├─ country | Number | 国家id |
├─ province | Number | 省份id |
├─ city | Number | 城市id |
├─ district | Number | 地区id |
├─ street | Number | 街道id |
├─ address | String | 详细地址 |
├─ mobile | String | 手机号 |
String | 邮箱 | |
├─ postscript | String | 留言 |
├─ inv_payee | String | 发票抬头 |
├─ inv_content | String | 发票内容 |
├─ order_amount | String | 订单金额 |
├─ add_time | Number | 添加时间 |
├─ extension_code | String | 活动标识 |
├─ inv_type | String | 发票类型 |
├─ tax | String | 发票税额 |
├─ is_delete | Number | 作删除订单状态 |
├─ invoice_type | Number | 发票类型 |
├─ vat_id | Number | 增值税发票信息ID |
├─ tax_id | String | 纳税人识别号 |
├─ pay_id | Number | 支付方式id |
├─ pay_status | Number | 支付状态 |
├─ pay_time | Number | 支付时间 |
├─ pay_fee | String | 支付费用 |
├─ shipping_status | Number | 发货状态 |
├─ shipping_id | String | 快递公司ID |
├─ shipping_name | String | 快递公司名称 |
├─ shipping_code | String | 快递公司代码 |
├─ shipping_time | Number | 发货时间 |
├─ suppliers_id | Number | 供货商ID |
├─ is_settlement | Number | 是否结算 |
├─ invoice_no | String | 运单号 |
├─ is_refund | Number | 是否申请退换货 |
├─ return_amount | String | 退款金额 |
├─ chargeoff_status | Number | 账单状态 |
├─ zipcode | String | 邮政编码 |
├─ tel | String | 收货人电话 |
├─ best_time | String | 送货时间 |
├─ sign_building | String | 建筑物(标识) |
├─ goods_amount | String | 商品总金额 |
├─ money_paid | String | 已付款金额 |
├─ surplus | String | 余额支付金额 |
├─ adjust_fee | String | 调节金额 |
├─ get_region_province | info[] | 省份 |
├─ get_region_city | info[] | 城市 |
├─ get_region_district | info[] | 地区 |
├─ get_region_street | info[] | 街道 |
├─ formated_adjust_fee | String | 调节金额 |
├─ formated_goods_amount | String | 商品总金额 |
├─ formated_order_amount | String | 订单金额 |
├─ formated_add_time | String | 添加时间 |
├─ ru_id | Number | 店铺id |
├─ pay_name | String | 支付名称 |
├─ pay_code | String | 支付code |
├─ region | String | 地址 |
return_allowable | Number | 退货权限 |
goods_info | List[] | 商品信息 |
├─ rec_id | Number | 订单商品id |
├─ order_id | Number | 订单id |
├─ goods_id | Number | 商品id |
├─ goods_name | String | 商品名称 |
├─ goods_sn | String | 商品货号 |
├─ product_id | Number | 商品货品id |
├─ goods_number | Number | 商品数量 |
├─ market_price | String | 市场价格 |
├─ goods_price | String | 商品价格 |
├─ goods_attr | String | 退货颜色属性 |
├─ send_number | Number | 发货数量 |
├─ is_real | Number | 是否是实物 |
├─ extension_code | String | 活动标识 |
├─ goods_attr_id | String | 商品属性id |
├─ shipping_fee | String | 运费 |
├─ freight | Number | 商品运费模板类型 |
├─ tid | Number | 商品运费模板ID |
├─ goods_price1 | String | 商品价格 |
├─ subtotal | String | 订单金额 |
├─ suppliers_name | String | 供应商名称 |
├─ user_name | String | 店铺名称 |
├─ kf_type | Number | 客服类型 |
├─ kf_qq | String | QQ客服 |
├─ kf_ww | String | 旺旺客服 |
├─ goods_img | String | 商品图片 |
├─ goods_thumb | String | 商品缩略图 |
├─ url | String | 商品url |
goods_return | List[] | 退换货申请商品详情 |
├─ rec_id | Number | 订单商品id |
├─ order_id | Number | 订单id |
├─ goods_id | Number | 商品id |
├─ goods_name | String | 商品名称 |
├─ goods_sn | String | 商品货号 |
├─ product_id | Number | 商品货品id |
├─ goods_number | Number | 商品数量 |
├─ market_price | String | 市场价格 |
├─ goods_price | String | 商品价格 |
├─ goods_attr | String | 退货颜色属性 |
├─ send_number | Number | 发货数量 |
├─ is_real | Number | 是否是实物 |
├─ extension_code | String | 活动标识 |
├─ goods_attr_id | String | 商品属性id |
├─ shipping_fee | String | 运费 |
├─ freight | Number | 商品运费模板类型 |
├─ tid | Number | 商品运费模板ID |
├─ goods_price1 | String | 商品价格 |
├─ subtotal | String | 订单金额 |
├─ suppliers_name | String | 供应商名称 |
├─ user_name | String | 店铺名称 |
├─ kf_type | Number | 客服类型 |
├─ kf_qq | String | QQ客服 |
├─ kf_ww | String | 旺旺客服 |
├─ goods_img | String | 商品图片 |
├─ goods_thumb | String | 商品缩略图 |
├─ url | String | 商品url |
consignee | List[] | 收货地址详情 |
├─ address_id | Number | 地址id |
├─ address_name | String | 地址名称 |
├─ user_id | Number | 用户id |
├─ consignee | String | 配送详情地址 |
String | 邮箱 | |
├─ country | Number | 国家id |
├─ province | Number | 省份id |
├─ city | Number | 城市id |
├─ district | Number | 地区id |
├─ street | Number | 街道id |
├─ address | String | 地址详情 |
├─ zipcode | String | 邮政编码 |
├─ tel | String | 电话 |
├─ mobile | String | 手机 |
├─ sign_building | String | 标志建筑 |
├─ best_time | String | 配送最佳时间 |
├─ audit | Number | 作者 |
├─ update_time | String | 更新时间 |
├─ rel_name | String | 真实姓名 |
├─ id_num | String | 省份证号 |
├─ province_name | String | 省名称 |
├─ city_name | String | 城市名称 |
├─ district_name | String | 地区名称 |
├─ street_name | String | 街道名称 |
├─ region | String | 收货地址 |
show_goods_thumb | String | |
show_attr_in_cart | String | |
order_id | Number | 订单id |
order_sn | String | 订单号 |
country_list | List[] | 国家列表 |
├─ region_id | Number | 地区id |
├─ parent_id | Number | 父级id |
├─ region_name | String | 地区名称 |
├─ region_type | Number | 地区级别 |
├─ agency_id | Number | 办事处的id |
province_list | List[] | 省份列表 |
├─ region_id | Number | 地区id |
├─ parent_id | Number | 父级id |
├─ region_name | String | 地区名称 |
├─ region_type | Number | 地区级别 |
├─ agency_id | Number | 办事处的id |
city_list | List[] | 城市列表 |
├─ region_id | Number | 地区id |
├─ parent_id | Number | 父级id |
├─ region_name | String | 地区名称 |
├─ region_type | Number | 地区级别 |
├─ agency_id | Number | 办事处的id |
district_list | List[] | 地址列表 |
├─ region_id | Number | 地区id |
├─ parent_id | Number | 父级id |
├─ region_name | String | 地区名称 |
├─ region_type | Number | 地区级别 |
├─ agency_id | Number | 办事处的id |
street_list | List[] | 街道列表 |
├─ region_id | Number | 地区id |
├─ parent_id | Number | 父级id |
├─ region_name | String | 地区名称 |
├─ region_type | Number | 地区级别 |
├─ agency_id | Number | 办事处的id |
goods_cause | List[] | 退货标识 |
img_list | List[] | 商品相册 |
return_pictures | String | 发货日期起可退换货时间 |
parent_cause | List[] | 退货原因 |
├─ cause_id | Number | 退货原因id |
├─ cause_name | String | 退换货原因 |
├─ parent_id | Number | 父级id |
├─ haschild | Number | |
├─ level | Number | 等级 |
├─ child_tree | List[] | 次要原因 |
备注:
- 更多返回错误代码请看首页的错误代码描述
1. 本站所有资源来源于用户上传和网络,因此不包含技术服务请大家谅解!如有侵权请邮件联系客服!3165260857@qq.com
2. 本站不保证所提供下载的资源的准确性、安全性和完整性,资源仅供下载学习之用!如有链接无法下载、失效或广告,请联系客服处理,有奖励!
3. 您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容资源!如用于商业或者非法用途,与本站无关,一切后果请用户自负!
4. 如果您也有好的资源或教程,您可以投稿发布,成功分享后有站币奖励和额外收入!
三优资源网 » 供应链suppliers/applyreturn 退换货详情
2. 本站不保证所提供下载的资源的准确性、安全性和完整性,资源仅供下载学习之用!如有链接无法下载、失效或广告,请联系客服处理,有奖励!
3. 您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容资源!如用于商业或者非法用途,与本站无关,一切后果请用户自负!
4. 如果您也有好的资源或教程,您可以投稿发布,成功分享后有站币奖励和额外收入!
三优资源网 » 供应链suppliers/applyreturn 退换货详情
常见问题FAQ
- 免费下载或者VIP会员专享资源能否直接商用?
- 本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
- 提示下载完但解压或打开不了?
- 找不到素材资源介绍文章里的示例图片?
- 三优资源网