# 接口说明

  • 1.采购逆向单消息推送接口,现有接口推送消息只包含已退款状态
# 订单信息order_info:
字段 名称 类型 必填 描述
order_id 订单编号 string Y OMLJ202007011357473416078
supplier_order_id 供应商订单号 string N 5efc25dbe4b0f378a7b74abb
refund_order_id 售后单编号 string Y OMLA202007011436303738178
supplier_refund_order_id 供应商售后单编号 string N 5efc2c2ee4b0f378a7b74abf
create_time 下单时间 string Y 2020-07-01 13:57:47
finish_time 订单完成时间 string N 2020-07-01 14:13:20
status 订单状态码 integer Y 1
status_name 订单状态名称 string Y 已退款
supplier_name 供应商名称 string N 深圳市天瑞优品有限公司
order_category_type 场景类型 integer Y 20:采购
order_category_name 场景类型名称 string Y 采购
order_op_type 订单方向 integer Y 20:逆向单
order_op_type_name 订单方向名称 string Y 逆向单
# 价格信息price_info:
字段 名称 类型 必填 描述
total_price 订单总额 bigdecimal Y 296
company_total_pay 公司应付金额 bigdecimal Y 296
personal_total_pay 个人应付金额 bigdecimal Y 0
red_envelope 红包券支付金额 double N 0
coupon_amount 优惠券支付金额 double N 0
# 下单人信息user_info:
字段 名称 类型 必填 描述
id 下单人id string Y 5b6be60e23445f249e28b913
name 下单人姓名 string Y 陈丞晨橙
phone 下单人电话 string Y 15010817288
unit_id 下单人部门id string Y 5bf263af23445f533561234b
unit_name 下单人部门名称 string Y 礼部
employee_number 员工工号 string N aaaa
# 收货人信息consignee_info:
字段 名称 类型 必填 描述
name 收货人姓名 string Y 分贝小五
phone 收货人电话 string Y 13049904881
address 收货人地址 string Y 北京北京市朝阳区三环以内东大桥路12号润诚中心211室
# 费用归属信息cost_attribution_list:
字段 名称 类型 必填 描述
cost_attribution_category 费用归属类型1:部门;2:项目 integer N 1
cost_attribution_id 费用归属id string N 59a80dd92798630fd780babf
cost_attribution_name 费用归属名称 string N 嘟嘟搞测试
# 商品信息product_info:
字段 名称 类型 必填 描述
id 商品id string Y 202007011201140
name 商品名称 string Y 天瑞优品
amount 商品数量 integer Y 1
price 商品单价 bigdecimal Y 299
total_price 商品总价 bigdecimal Y 299
brand_name 品牌名称 string N Apple
unit 单位 string N 原厂包装
spec 规格信息 string N 天瑞优品
# 物流信息order_track_info:
字段 名称 类型 必填 描述
content 内容 string Y 您提交了订单,请等待系统确认
operator 操作人 string Y 客户
msg_time 时间 string Y 2020-07-01 13:58:01
# 三方信息third_info:
字段 名称 类型 必填 描述
user_id 三方员工id string N 三方员工id
dept_id 三方部门id string N 三方部门id
cost_dept_id 三方费用归属部门id string N dinge78ced08591e110bf5bf40eda33b7ba0
cost_project_id 三方费用归属项目id string N dinge78ced08591e110bf5bf40eda33b7ba2
{
	"order_info": {
		"refund_order_id": "OMLA202007011436303738178",
		"supplier_refund_order_id": "5efc2c2ee4b0f378a7b74abf",
		"order_id": "OMLJ202007011424463305278",
		"supplier_order_id": "5efc2c2ee4b0f378a7b74abf",
		"create_time": "2020-07-01 14:24:48",
		"finish_time": "2020-07-01 14:38:13",
		"status": 1,
		"status_name": "已退款",
		"order_category_type": 20,
		"order_category_name": "采购",
		"order_op_type": 20,
		"order_op_type_name": "逆向单"
	},
	"price_info": {
		"total_price": 296.16,
        "company_total_pay": 296.16,
        "personal_total_pay": 0,
        "coupon_amount": 0,
        "red_envelope": 0
	},
	"user_info": {
		"id": "5b6be60e23445f249e28b913",
		"name": "陈丞晨橙",
		"phone": "15010817288",
		"unit_id": "5bf263af23445f533561234b",
		"unit_name": "礼部"
	},
	"consignee_info": {
		"name": "分贝小五",
		"phone": "13049904881",
		"address": "北京北京市朝阳区三环以内东大桥路12号润诚中心211室"
	},
	"product_info": [{
		"id": "202007011201140",
		"name": "天瑞优品",
		"amount": 1,
		"price": 299,
		"total_price": 299,
		"brand_name": "Apple",
		"unit": "原厂包装",
		"spec": "天瑞优品"
	}],
	"order_track_info": [{
			"content": "您的售后单财务已退款,请注意查收",
			"msg_time": "2020-07-01 14:38:13",
			"operator": "客服"
		},
		{
			"content": "您的售后单退回货物已收到",
			"msg_time": "2020-07-01 14:37:24",
			"operator": "客服"
		},
		{
			"content": "您的售后单已经填写:快递公司:帝都快递,快递单号:349797905519459,待收退回货物后退款",
			"msg_time": "2020-07-01 14:37:17",
			"operator": "陈丞晨橙"
		},
		{
			"content": "您的售后单审核通过,退货信息:姓名:null 电话:null 地址:null。请填写商品退回快递信息",
			"msg_time": "2020-07-01 14:36:55",
			"operator": "客服"
		},
		{
			"content": "您的售后单已经申请成功,售后审核中",
			"msg_time": "2020-07-01 14:36:30",
			"operator": "客服"
		}
	],
    "third_info": {
            "user_id": "23122222222112",
            "dept_id": "146f0295-fbbc-4448-b9ec-c6dc171de573",
            "cost_project_id": "third_group_033"
    },
	"cost_attribution_info": [{
		"cost_attribution_id": "5bf263af23445f533561234b",
		"cost_attribution_name": "礼部",
		"cost_attribution_category": 1
	}]
}

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
lastUpdate: 2/22/2022, 4:19:55 PM