Zerodha Order modify Order cancel

Kite Connect order modify / cancel

From WebNotes, a public knowledge base. Last updated . Reading time ~3 min.

Kite Connect supports order modification and cancellation for open orders not yet fully executed:

ActionEndpoint
Modify orderPUT /orders/regular/:order_id
Cancel orderDELETE /orders/regular/:order_id
Modify cover/bracketPUT /orders/co (or bo) /:order_id

Modify scenarios

What you can changeWhen
QuantityPending (not partially filled) orders
PricePending limit orders
Trigger pricePending stop-loss orders
ValidityPending orders
Order typePending orders (limited transitions)

Restrictions:

  • Cannot modify after partial fill (must cancel + re-place).
  • Cannot modify exchange / tradingsymbol / transaction_type (must cancel + re-place).

Cancel scenarios

  • Open pending orders (full cancellation).
  • Cannot cancel: fully executed, already cancelled, or rejected orders.

Python example

# Modify
kite.modify_order(
    variety="regular",
    order_id="240520000000123",
    price=2500.00
)

# Cancel
kite.cancel_order(
    variety="regular",
    order_id="240520000000124"
)

What can go wrong

  • Order already filled before modify reached exchange.
  • Network delay between modify request and execution.
  • Rate limit hit on rapid modify-attempt loops.

See also

External references

References

  1. Zerodha, Kite Connect orders API, kite.trade.

Reviewed and published by

The WebNotes Editorial Team covers Indian capital markets, payments infrastructure and retail investor procedures. Every article is fact-checked against primary sources, principally SEBI circulars and master directions, NPCI specifications and the official support documentation published by the intermediary in question. Drafts go through a second-pair-of-eyes review and a separate compliance read before publication, and revisions are tracked against the SEBI and NPCI rule changes referenced in the methodology section.

Last reviewed
Conflicts of interest
WebNotes is independent. No relationship with any broker, registrar or bank named in this article.