v22

latestOpenAPI 3.0.0raw.githubusercontent.com2026-03-03327794.1 KB
Orders

Update order

Attempts to update an existing order. This can be used to update a subset of an order's attributes, for example price and quantity.

patch/accounts/{account_id}/orders/{order_id}

Path parameters

account_idstring required

Account ID for the account.

Example:100000
order_idstring required

Unique order ID assigned by us.

Example:12390213

Request body

quantitystring required

String representation of quantity.

pricestring

String representation of a price.

stop_pricestring

String representation of a price.

Example request

{
  "quantity": "100",
  "price": "123.99",
  "stop_price": "123.99"
}

Response

Order update successfully attempted.