Order

Cancel order

Cancel order API can be used for two purposes: Cancelling an open order which could be an AMO or a normal order It is also used to EXIT a CO or OCO(bracket order)

delete/v2/order/cancel

Request

  • Base URL: https://api-v2.upstox.com
  • URL: https://api-v2.upstox.com/v2/order/cancel
  • Auth: OAuth 2 (authorization code, authorization URL https://api-v2.upstox.com/v2/login/authorization/dialog, token URL https://api-v2.upstox.com/v2/login/authorization/token)

Query parameters

order_idstring required

The order ID for which the order must be cancelled

Response

Successful

status'success' | 'error' | 'partial_success'

Changes

No recorded changes to this operation across all 1 revision of this API.