private/amend-order
POSTAmend an existing order on the Exchange./private/amend-order
This call is asynchronous, so the response is simply a confirmation of the request.
The user.order subscription can be used to check when the order is successfully created.
Please note that amend order is designed as a convenience function such that it performs cancel and then create behind the scene. The new order will lose queue priority, except if the amend is only to amend down order quantity.
Request
Body
required
Request id (echoed in response)
Must be "private/amend-order"
Your API key (only required for private REST)
HMAC-SHA256 signature in hex (only required for private REST)
Current timestamp in milliseconds, e.g. "1771761038000".
params objectrequired
Optional Order ID. Either order_id or orig_client_oid must be present.
Client Order ID (maximum 36 characters).
Optional Original Client Order ID. Either order_id or orig_client_oid must be present. If both exist, order_id has higher priority.
The new amended price. If no change required, input original value.
The new amended quantity. If no change required, input original value.
Schema
Echoed request id
Method invoked
0 = success; non-zero indicates error (reason code).
result object
Client order ID
Order ID
Present when code !== 0.
Present when code !== 0.