Orders

Cancel multiple Orders by their IDs in a single request. Note that this requires the Order IDs, not the OrderRequest IDs. Once you submit a cancellation request, it cannot be undone. Be advised that orders with a status of PENDING_FILL, PENDING_ESCROW, FILLED, REJECTED, or CANCELLED cannot be cancelled.

Order cancellation is not guaranteed nor is it immediate. The Orders may still be executed if the cancellation request is not received in time.

The response will indicate which orders were successfully queued to cancel and which failed to queue. Check the status using the "Get Order by ID" endpoint to confirm whether individual Orders have been cancelled.

post/api/v2/accounts/{account_id}/orders/cancel

Request

Request body

order_idsstring[] required

List of Order IDs to cancel

Response

OK

Changes

    • breaking

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

    • breaking

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

    • breaking

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

    • breaking

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

    • breaking

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

    • breaking

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

    • breaking

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

    • breaking

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

    • warning

      added the new eip155:1329 enum value to the // response property for the response status

    • warning

      added the new eip155:1329 enum value to the // response property for the response status

    • warning

      added the new eip155:5042 enum value to the // response property for the response status

    • warning

      added the new eip155:5042 enum value to the // response property for the response status

    • warning

      added the new eip155:56 enum value to the // response property for the response status

    • warning

      added the new eip155:56 enum value to the // response property for the response status

    • info

      removed the eip155:81457 enum value from the // response property for the response status

    • info

      removed the eip155:81457 enum value from the // response property for the response status

    • warning

      added the new eip155:43114 enum value to the // response property for the response status

    • warning

      added the new eip155:43114 enum value to the // response property for the response status