Orders

Queues a cancellation for a specific order identified by its order ID (assigned by Paradex).

Returns a 204 No Content status code with no response body which means the order has been queued for cancellation.

Confirmation of cancellation will be sent via websocket or can be retried from GET /orders/:id endpoint.

Orders that are already in a CLOSED state cannot be canceled.

delete/orders/{order_id}

Request

  • Base URL
    https://api.prod.paradex.trade/v1
  • URL
    https://api.prod.paradex.trade/v1/orders/{order_id}
  • Auth
    API key in header Authorization

Path parameters

order_idstring required

Order Id

Response

No Content

Changes

    • warning

      added the new ADDRESS_BOOK_NOT_PARADEX_ACCOUNT enum value to the //// response property for the response status

    • warning

      added the new ADDRESS_BOOK_REPEATED_IN_IMPORT enum value to the //// response property for the response status

    • warning

      added the new STARKNET_PARENT_ONBOARDING_DISABLED enum value to the //// response property for the response status

    • warning

      added the new SESSION_EXPIRED enum value to the //// response property for the response status

    • warning

      added the new SESSION_REVOKED enum value to the //// response property for the response status