Module: webhook

回调。注意,该接口不由YSystem 提供,而是由渠道服务端提供,YSystem 调用

Methods


<static> order(header, body)

post 订单更新

Parameters:
Name Type Description
header YHeader

Http request header

body object

Http request body

Properties
Name Type Description
action string

行为

  • bookingSubmitted 预订已提交
  • bookingSucceeded 预订成功
  • bookingFailed 预订失败
  • bookingCancelled 取消成功
  • completed 完成
order Order

订单

Since:
  • 1.0.0