Skip to main content
POST
Cancel all orders for a game
取消單場賽事上的每一筆未成交訂單。可選擇限定到單一市場 type,以保留其他市場的訂單。

請求

POST /session/cancelAllOrdersForGame
string
必填
應取消訂單的賽事。
string
可選。僅取消該市場型別的訂單 — 取值為 moneyline、spread、total 之一。省略時取消所有市場型別。

回應

array
按單取消結果。形態與 取消一筆訂單 相同。

錯誤

授權

Authorization
string
header
必填

Pass your auth token in the Authorization header. The Bearer prefix is optional; the server also accepts a signed auth cookie or a token field in the request body.

主體

application/json
gameID
string
必填

The game whose orders to cancel.

type
enum<string>

Optional. Cancel only orders of this market type.

可用選項:
moneyline,
spread,
total

回應

Per-order cancel results

data
object[]