Orders

Cancel an order by ID

Cancels an order specified by its ID. It is possible to cancel an order in the NEW or PROCESSING status. Once a cancellation has been accepted, the further processing steps take place asynchronously and depending on the respective order status.

delete/orders/{order_id}

Request

  • Base URL
    https://sandbox.upvest.co
  • Auth
    OAuth 2
    Client credentials
    Token URLhttps://sandbox.upvest.co/auth/token
    Scopesorders:admin

Path parameters

order_idstring uuid required

Unique identifier for an order. Universally Unique Identifier (UUID).

The unique identifier of the order. Universally Unique Identifier (UUID).

Headers

upvest-client-idstring uuid required
Example:363f3305-7ab0-4e82-a158-f9d382ad08b6

Your client ID, issued by Upvest. Identifies the client making the request. Universally Unique Identifier (UUID).

Authorizationstring required
Example:Bearer c2VjcmV0Cg==

Bearer (access) token from the OAuth flow with correct scopes. https://datatracker.ietf.org/doc/html/rfc6750

upvest-api-version'1'
Example:1

Upvest API version (Note: Do not include quotation marks)

Response

The order cancelling request is accepted.

idstring uuid required

Unique identifier for an order. Universally Unique Identifier (UUID).

Changes

No recorded changes to this operation across all 38 revisions of this API.