Trade

Batch Amend Orders

Changed on

Amend multiple existing orders in a single request

post/api/v1/order/amend-batch

Request

Request body

await_outcomeboolean

If true, gateway waits up to a server-defined timeout (currently 3s) for final engine outcomes and maps them into exit_info.

If false (default), exit_info reports edge outcomes (validation + publish ack).

Example request

{
  "request": [
    {
      "symbol": "BTC-USDCx"
    }
  ]
}

Response

Orders amended

timestring date-time required

Example response

{
  "time": "1672531200000"
}

Changes

    • breaking

      added the new required request property //

    • breaking

      the // request property type changed from integer to string, and format from int64 to no format

    • breaking

      the response property // became optional for the status

    • breaking

      added subschema #1 to the // response property oneOf list for the response status

    • breaking

      the // response's property type changed from string to no type, and format from uuid to no format for status

    • warning

      removed the request property //

    • info

      added the new optional request property

    • info

      endpoint added