帮助中心

2205-退款单号查询分销订单

2020-11-03

接口编号 2205

接口说明

  1. 退款单号查询分销订单

  2. 佣金状态:0,已撤销,10,待入账,20,已入账


请求说明

  • HTTP请求方式:POST

  • 返回数据格式:JSON

  • 请求路径:api/mfx/getfxorderbyorderinfo


字段类型为空长度描述
SearchOrderTypeint
单据类型 0:订单 1退款单 2 退货单
OrderCodestring
订单
ReturnCodestring
退货单
RefundCodestring
退款单


请求参数示例代码(json对象)

{"SearchOrderType":"0","OrderCode":"E042954614620110350027","ReturnCode":"","RefundCode":""}


返回数据

字段类型描述
Idlong分销主键
OrderIdlong订单id
IsPayedbool是否支付
OrderCodestring订单code
OrderPayTimestring

支付时间
AddTimestring下单时间
CommissionStatusstring佣金状态
RefundIdlong退款单id
RefundNostring退款单code
ReturnIdlong退货单id
ReturnNostring退货单code
CreateDatestring创建时间
LastModifiedDatestring最后修改时间
DtlsList<Dtls>详情

Dtls

字段类型描述
OcIdlong分销订单id
OrderDtlIdlong商品编码
ItemIdlong货号id
ItemNamestring货号名称
ItemNostring货号code
BarIdlong条码id
BarCodestring条码code
Quantityint数量
SalePricedecimal售价
RealPayAmountdecimal实际支付
Commissiondecimal佣金
RealAmountNoCommssiondecimal扣除商品分销佣金实付金额

返回参数

{

"Sign": "4BF41F5C67FFAEDFAFCD2A16985B5E651A5407AC",

"Result": {

"Id": 0,

"OrderId": 72668,

"OrderCode": "E042954614620110350027",

"IsPayed": true,

"OrderPayTime": "2020-10-31 12:22:33",

"AddTime": "2020-10-31 12:22:30",

"CommissionStatus": 10,

"RefundId": 0,

"RefundNo": null,

"ReturnId": 0,

"ReturnNo": null,

"CreateDate": "2020-10-31 12:22:40",

"LastModifiedDate": "2020-10-31 12:22:40",

"Dtls": [{

"OcId": 60901,

"OrderDtlId": 73049,

"ItemId": 98110,

"ItemName": "wap商品",

"ItemNo": "wap",

"BarId": 99888,

"BarCode": "wap1",

"Quantity": 2,

"SalePrice": 0.01,

"RealPayAmount": 0.02,

"Commission": 0.01,

"RealAmountNoCommssion": 0.01

}]

},

"Status": true,

"StatusCode": 200,

"Msg": "成功",

"Timestamp": "20201103163351"

}



1197