Request
Unique request identifier for correlation
WebSocket API method. Must be
order.updateRequest parameters containing authentication and update details
At least one of
price or amount must be provided. The order must be active (open or partially executed) to be updated. Canceled or fully executed orders cannot be modified.Response
Request identifier for correlation
HTTP status code (200 for success)
Always null for successful update responses. The update is confirmed by the 200 status code.
Error Response
Request identifier for correlation
HTTP error status code
Always null for error responses
Error details object
Examples
Success Response Example
Error Response Examples
Order Not Found
Order Not Active
Missing Price and Amount
Invalid Signature
Update Scenarios
Scenario 1: Adjust Price
If you want to change the order’s price while keeping the amount the same:- Provide only the
priceparameter - The order amount remains unchanged
Scenario 2: Adjust Amount
If you want to change the order’s amount while keeping the price the same:- Provide only the
amountparameter - The order price remains unchanged
Scenario 3: Adjust Both Price and Amount
If you want to change both the price and amount:- Provide both
priceandamountparameters - Both values will be updated
Important Notes
- Order Status: Only active orders (status
openorexecuted_partially) can be updated - Canceled Orders: Cannot be updated
- Fully Executed Orders: Cannot be updated
- Partial Execution: If an order has been partially executed, you can still update the remaining amount
- Update Confirmation: A successful response returns status 200 with
result: null. This confirms the update was applied - Idempotency: If you send the same update request twice with different request IDs, both updates will be applied
- Request Correlation: Always use a unique
idin each request for proper correlation with responses
Update Restrictions
Updatable Order Types
Most order types support updates:- Limit orders: ✓ Can update price and amount
- Market orders: May have restrictions depending on execution stage
- Stop Limit orders: ✓ Can update price and amount
- Trailing orders: ✓ Can update price and distance
- Ceiling orders: ✓ Can update value
- Iceberg orders: ✓ Can update price and step amount
Cannot Update
- Already canceled orders
- Fully executed orders (status:
executed_completely) - Orders after partial execution (in some cases)
Common Error Codes
| Error Code | Message | Description |
|---|---|---|
| 40401 | Order not found | The order ID does not exist |
| 40408 | Cannot update a canceled or fully executed order | The order is not in an updatable state |
| 40010 | At least one of price or amount must be provided | Neither price nor amount was provided |
| 40011 | Invalid signature or timestamp expired | Authentication failed |
| 40012 | Invalid price or amount | The provided values are invalid or out of acceptable range |