Orders

Close all open orders

Request cancellation of all open orders. Optionally filter by sport and/or event.

post/v2/orders/close_all/

Request

  • Base URL: https://magicmarkets.com (the document declares no server; this is the origin it was published from)
  • URL: https://magicmarkets.com/v2/orders/close_all/
  • Auth: API key in header X-Api-Key

Request body

sportstring

Only close orders on this sport - see "Sports & bet types" in the introduction.

event_idstring

Only close orders on this event (requires sport)

Response

Cancellation accepted. data is a list of the order-id lists being cancelled; an empty result is [[]].

Changes

No recorded changes to this operation across all 1 revision of this API.