v4
latestOpenAPI 3.0.02026-08-04103181301.4 KBorders
Amend Order (V2)
Endpoint for amending the price and/or max fillable count of an existing event-market order using the V2 request/response shape. 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
Path parameters
order_idstring required
Order ID
Query parameters
subaccountinteger
Subaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0.
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
}