Skip to main content
POST
Close multiple orders

Authorizations

X-Api-Key
string
header
required

API key created from the magic-markets website

Body

application/json
order_ids
integer[]
required
Required array length: 1 - 500 elements

Response

Close results. closed and not_found are each a list of order-id lists (grouped by the upstream batch); already-closed and unknown ids both land in not_found.

status
enum<string>
Available options:
ok
data
object