orders
Amend Order (V2)
Changed onEndpoint for amending the price, max fillable count, and/or expiration time of an existing event-market order. The request count is the updated total/max fillable count, equal to already filled count plus desired resting remaining count. This behavior matches the v1 amend endpoints; only the request/response shape differs.
post/portfolio/events/orders/{order_id}/amend
Request
- Base URLhttps://external-api.kalshi.com/trade-api/v2
- URLhttps://external-api.kalshi.com/trade-api/v2/portfolio/events/orders/{order_id}/amend
- AuthAPI key in header KALSHI-ACCESS-KEY and API key in header KALSHI-ACCESS-SIGNATURE and API key in header KALSHI-ACCESS-TIMESTAMP
Path parameters
order_idstring required
Order ID
Query parameters
subaccountinteger
Subaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0. Subaccount-restricted API keys default to their locked subaccount and must omit this parameter or pass their locked subaccount.
Request body
Example request
{
"ticker": "HIGHNY-24JAN01-T60",
"side": "bid",
"price": "0.5700",
"count": "8.00",
"client_order_id": "8c35ecb3-328f-4f52-8c7c-0f4b9862f8d1",
"updated_client_order_id": "2a0e3fc9-b593-4aa3-96e5-82f7f7566c2a",
"exchange_index": 0
}Response
Order amended successfully
Example response
{
"order_id": "3b23c1c7-f4ef-4f0d-8b9a-9e53c61f1a0d",
"client_order_id": "2a0e3fc9-b593-4aa3-96e5-82f7f7566c2a",
"remaining_count": "8.00",
"fill_count": "0.00",
"ts_ms": 1715793690123
}Changes
- warning
for the
queryrequest parametersubaccount, the min was set to0.00
- warning
- info
added the new optional request property
- info