外部订单发货接口


描述:仅能对已支付的订单进行发货操作
接口地址:/api/checkout/deliver-out-trade/
Http请求方式:POST
内容格式:application/json
权限:point_pay
参数:
参数 参数名 类型 是否必须 描述
out trade no out_trade_no string 外部订单号
client pay id client_pay_id string 支付流水号
timestamp timestamp string 时间戳
sign sign string 签名

out_trade_no 和 client_pay_id 不可以同时为空,两个都传时,优先使用out_trade_no

返回值:
  • status: 订单状态
请求示例:
{
      "client_pay_id":"20180611016"
}
返回示例:
{
"result_message": "deliver out trade successfully",
"result_code": "deliver_out_trade",
"result": {
    "status": "pay_finished"
},
"success": true
}