API ReferenceChangelog
Log In
API Reference

Endpoint for decreasing the number of contracts in an existing order.
This is the only kind of edit available on order quantity.
Cancelling an order is equivalent to decreasing an order amount to zero.

Path Params
uuid
required

ID of the order to be decreased.

Body Params

Order data

int32

Number of contracts to decrease the order's count by.
One of reduce_by or reduce_to must be provided.

int32

Number of contracts to decrease the order to. If the orders remaining count is lower, it does nothing.
One of reduce_by or reduce_to must be provided

Response

Language
Choose an example:
application/json