Skip to main content
PATCH
PATCH /v2/trade/perps/orders/{id}: Modify an Order
Sign each request with a fresh HMAC signature. The cURL and HTTP header values below are placeholders, not reusable credentials. For runnable signing code, use request signing examples.
Modifies an open order’s price, quantity, or both. Scope trade.perps; Idempotency-Key is honoured. This feature rolls out in stages: until it is live, the route answers 409 PERPS_CAPABILITY_UNAVAILABLE with reason: "orders_modify" and Retry-After: 60. Nothing reached the venue; retry later with the same Idempotency-Key.

Path Parameters

string
required
The order: venue order_id, coid:<32 hex>, ik:<Idempotency-Key> or intent_id, as on GET /v2/trade/perps/orders/{id}.

Body

At least one of the two.
string
New limit price, decimal string.
string
New total quantity, decimal string.

Errors

Every Perps code and its retry rule: Errors.

Example