Zerodha
Order modify
Order cancel
Kite Connect order modify / cancel
Kite Connect supports order modification and cancellation for open orders not yet fully executed:
| Action | Endpoint |
|---|---|
| Modify order | PUT /orders/regular/:order_id |
| Cancel order | DELETE /orders/regular/:order_id |
| Modify cover/bracket | PUT /orders/co (or bo) /:order_id |
Modify scenarios
| What you can change | When |
|---|---|
| Quantity | Pending (not partially filled) orders |
| Price | Pending limit orders |
| Trigger price | Pending stop-loss orders |
| Validity | Pending orders |
| Order type | Pending 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
- Place order via Kite Connect (Python)
- Kite Connect basket orders API
- Kite Connect GTT API
- Kite Connect (Zerodha API)
- Kite Connect OAuth login flow
- pykiteconnect Python quickstart
- kiteconnect.js Node.js quickstart
- Kite Connect Java SDK
- Sign up and get Kite API key
- Kite Connect access token generation
- Kite Connect FAQs
- Kite Connect API pricing
- Algo trading with Kite Connect
- Kite Connect historical data API
- Kite Ticker WebSocket (Python)
- Backtesting with Kite historical API
- Kite Connect rate limits
- Kite Connect static IP requirement
- Kite Connect sandbox / mock
- Use Kite API data on other platforms
- Historical API without Kite Connect access
- Historical vs live data pricing
- Kite API charges and plans
- Net vs Day in positions API
- How to fix max order request exceeded without 5000 orders
- How to get invoice for Kite Connect subscription
- Mobile browser issue with Kite Connect login
- Deactivate / unsubscribe Kite Connect
- Will Zerodha help code strategies
- Kite Publisher API
- Kite MCP for AI assistants
- Zerodha Open API community
- Algorithmic trading in India
- Zerodha
- Kite (Zerodha)
External references
References
- Zerodha, Kite Connect orders API, kite.trade.