- 蔬东坡开放平台API文档
- 什么是蔬东坡开放平台
- 开发入门
- 基础数据接口
- 商品
- 订单
- 客户
- 出、入库单查询
- 现有库存查询
- 库房
- 客户协议价
- 订单-退货单
- 商品-溯源
- 客户类型
- 采购单
- 异步通知
- 库房-分拣
- 采购-退货单
- 财务
退货单详情
GET
/openApi/order/returnDetail
最后修改时间:2024-11-29 05:29:11
责任人:未设置
请求参数
Query 参数
appid
string
必需
timestamp
integer
当前时间戳
示例值:
{{timestamp}}
sign
string
签名参数(32位)
示例值:
{{sign}}
notice
string
可选
site_id
string
站点
return_id
integer
退货单ID
return_no
string
退货单号
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://scm.sdongpo.com/cc_thirdparty/openApi/order/returnDetail?appid×tamp=&sign=¬ice&site_id&return_id&return_no'
返回响应
🟢200成功
application/json
Body
status
integer
必需
data
object
必需
id
string
退货单ID
user_id
string
客户ID
order_id
string
订单ID
delivery_date
string
发货日期
return_no
string
退货单号
type
string
必需
status
string
必需
price
string
申请退款总金额
actual_price
string
实际退款总金额
store_id
string
仓库ID
store_in_id
string
入库单ID
remark
string
退货原因
audit_opinion
string
退货审核意见
create_time
string
创建时间
op_id
string
操作人ID
site_id
string
站点ID
source
string
必需
updated_time
string
更新时间
return_date
string
退货日期
print_times
string
必需
audit_time
string
审核时间
audit_pay_price
string
审核时的已付金额
is_return_service_charge
string
是否退服务费
return_service_charge
string
退款服务费金额
author
string
必需
user
object
必需
store_in_no
string
入库单号
store_in
array [object {19}]
必需
order_no
string
订单编号
order_create_time
string
订单创建时间
is_pay_desc
string
必需
pay_discount
string
必需
user_name
string
必需
apply_price
string
必需
audit_price
string
必需
driver_name
string
必需
driver_tel
string
必需
line_name
string
必需
isCanExport
boolean
必需
isCanPrint
boolean
必需
refer_name
string
必需
refer_tel
string
必需
store_name
string
必需
status_desc
string
必需
true_actual_price
string
必需
status_list
array [object {2}]
必需
return_refund_type
string
必需
actual_pay_price
string
必需
log
array [object {4}]
必需
detail
array [object {56}]
必需
return_id
string
必需
commodity_list
array [object {43}]
必需
order_detail
array[string]
必需
pic_list
array[string]
必需
source_txt
string
必需
return_type
string
必需
message
string | null
必需
示例
{
"status": 1,
"data": {
"id": "1",
"user_id": "52",
"order_id": "32",
"delivery_date": "2024-10-12",
"return_no": "RT24101111163800",
"type": "0",
"status": "4",
"price": "13.7000",
"actual_price": "13.70",
"store_id": "1001",
"store_in_id": "6",
"remark": "货物变质、损坏",
"audit_opinion": "",
"create_time": "2024-10-11 11:20:08",
"op_id": "1",
"site_id": "6",
"source": "1",
"updated_time": "2024-10-16 15:32:27",
"return_date": "2024-10-12",
"print_times": "0",
"audit_time": "2024-10-11 11:20:18",
"audit_pay_price": "0.00",
"is_return_service_charge": "0",
"return_service_charge": "0.00",
"author": "movee",
"user": {
"id": "52",
"name": "王涛",
"tel": "13018989896",
"email": "婺城二批客户测试客户客户A",
"address_detail": "婺城区西街道",
"account_tel": "13018989896",
"group_id": "0",
"return_order_tpl_id": "621",
"user_code": "30"
},
"store_in_no": "RK2410111120183302",
"store_in": [
{
"id": "6",
"in_no": "RK2410111120183302",
"create_time": "2024-10-11 11:20:18",
"purchase_time": "0000-00-00 00:00:00",
"in_type": "4",
"in_num": "1",
"total_price": "9.00",
"in_status": "2",
"store_id": "1001",
"about_id": "1",
"memo": "",
"operator": "movee",
"op_id": "1",
"in_time": "2024-10-11 11:20:18",
"about_no": "RT24101111163800",
"print_num": "0",
"modify_in_time": null,
"audit_user_id": "1",
"in_reason": "0"
}
],
"order_no": "DD241011111805333755",
"order_create_time": "2024-10-11 11:18:05",
"is_pay_desc": "已付款",
"pay_discount": "0",
"user_name": "婺城二批客户测试客户客户A",
"apply_price": "13.70",
"audit_price": "13.70",
"driver_name": "司机刘",
"driver_tel": "18967001388",
"line_name": "测试路线雨花区A线路",
"isCanExport": true,
"isCanPrint": true,
"refer_name": "王涛",
"refer_tel": "13018989894",
"store_name": "默认库房岳麓区中电软件园",
"status_desc": "已完成",
"true_actual_price": "13.70",
"status_list": [
{
"id": 0,
"name": "提交"
},
{
"id": 100,
"name": "待审核"
},
{
"id": 2,
"name": "待入库"
},
{
"id": 3,
"name": "待退款"
},
{
"id": 4,
"name": "已完成"
},
{
"id": 5,
"name": "已关闭"
}
],
"return_refund_type": "0",
"actual_pay_price": "0.00",
"log": [
{
"user_name": "movee",
"create_time": "2024-10-11 11:20:08",
"type": "新建",
"content": "生成退货单成功"
},
{
"user_name": "movee",
"create_time": "2024-10-11 11:20:18",
"type": "完成",
"content": "审核退货单成功"
}
],
"detail": [
{
"order_id": "32",
"tax_rate": "0",
"service_charge": "0.00",
"id": "1",
"return_id": "1",
"commodity_id": "397",
"commodity_name": "鸡枞菌1斤",
"unit_sell": "包",
"order_commodity_id": "59",
"apply_amount": "1.00",
"apply_price": "13.70",
"audit_amount": "1.00",
"audit_price": "13.70",
"unit_price": "13.70",
"in_price": "9.00",
"recv_amount": "1.00",
"return_amount": "0.00",
"remark": "",
"loss_num": "0.00",
"expired_date": "0000-00-00",
"production_date": "0000-00-00",
"pp_detail_id": "0",
"return_provider": "0",
"updated_time": "2024-10-11 11:20:17",
"inner_remark": "",
"return_service_charge": "0.00",
"price": "13.70",
"parent_id": "396",
"name": "鸡枞菌1斤",
"summary": "净重1斤 浮动±0.1",
"unit": "包",
"unit_convert": "N",
"commodity_code": "JJJ1683",
"is_rough": "N",
"unit_num": "1.00",
"is_batch": "0",
"shelf_life": "0",
"provider_type": "1",
"pool_provider_id": "1",
"purchase_record_id": "0",
"provider_supervisor": "5",
"unit_show": "包",
"total_price": "13.70",
"tax_money": "0.00",
"none_tax_total_price": "13.70",
"none_tax_unit_price": "13.70",
"sorting_amount": "1.00",
"sorting_actual_diff_amount": "-1.00",
"delivery_unit_price": "13.70",
"raw_commodity_name": "鸡枞菌1斤",
"bar_code": "",
"user_commodity_alias_id": "",
"user_commodity_alias_name": "",
"user_commodity_alias_code": "",
"provider_supervisor_name": "采购liu",
"provider_supervisor_code": "caigou_liu_01"
}
],
"return_id": "1",
"commodity_list": [
{
"index": 1,
"parent_id": "396",
"commodity_name": "鸡枞菌1斤",
"commodity_code": "JJJ1683",
"unit": "包",
"delivery_amount": "1.00",
"delivery_unit_price": "13.70",
"return_amount": "1.00",
"apply_amount": "1.00",
"apply_price": "13.70",
"apply_total_price": "13.70",
"audit_amount": "1.00",
"audit_price": "13.70",
"audit_total_price": "13.70",
"loss_num": "0.00",
"remark": "",
"inner_remark": "",
"shelf_life": "0",
"is_batch": "0",
"id": "1",
"order_commodity_id": "59",
"unit_convert": "N",
"unit_num": "1.00",
"pp_detail_id": "0",
"commodity_id": "397",
"tax_money": "0.00",
"tax_rate": "0",
"none_tax_unit_price": "13.70",
"none_tax_total_price": "13.70",
"service_charge": "0.00",
"return_service_charge": "0.00",
"provider_supervisor": "5",
"logo": "http://base-image.sdongpo.com/base_1530/upload_pic/909_com_thumb_20240903133803002bcfb766d6a0bbceb86.png",
"is_pool_provider": 0,
"pool_provider_name": "测试供应商-1",
"return_provider": "未通过采购任务生成采购单,不可生成采购退回单",
"user_id": "52",
"account_provider_id": 0,
"account_ratio": "0.00",
"unit_convert_text": "1包=1.00斤",
"purchase_order_info": "未通过采购任务生成采购单,不可生成采购退回单",
"is_pool_provider_return": 0,
"account_provider_name": ""
}
],
"order_detail": [],
"pic_list": [],
"source_txt": "后台",
"return_type": "order"
},
"message": null
}
修改于 2024-11-29 05:29:11