Order Management
Edit Order
Partner Support
User Flows
General API
- Builder Info
- System Info
- USDC Faucet
User API
- Registration
- Key Management
- Account/User Info
- Account Notifications
- Account Config
- Delegate Signer
Trading API
- Order Management
- POSTCreate Order
- POSTBatch Create Order
- POSTCreate Algo Order
- PUTEdit Order
- PUTEdit Algo Order
- DELCancel Order
- DELCancel Algo Order
- DELCancel Order By client_order_id
- DELCancel Algo Order By client_order_id
- DELCancel All Pending Algo Orders
- DELCancel All Pending Orders
- POSTCancel All After
- DELBatch Cancel Orders
- DELBatch Cancel Orders By client_order_id
- GETGet Order by order_id
- GETGet Order by client_order_id
- GETGet Algo Order by order_id
- GETGet Algo Order by client_order_id
- GETGet Orders
- GETGet Algo Orders
- GETGet Trades
- GETGet Trade
- GETGet All Trades of Specific Order
- GETGet All Trades of Specific Algo Order
- POST
- Liquidations
- Assets/Withdraw/Settle PnL
- Positions
- Funding
Rewards API
- Trading Rewards
- Market Making Rewards
Staking & Valor API
- Staking
- Valor
Builder API
- User Data
- Trading Campaigns
- Fee Setting
- Referral Program
Market Data API
- TradingView
- Funding Rates
- Market Info
Websocket API
- Introduction
- PING/PONG
- Authentication
- Error Response
- Public Market Data
- Private User Data
Order Management
Edit Order
Limit: 10 request per 1 second
PUT /v1/order
Edit a pending order by order_id
. Only the order_price
or order_quantity
can be amended.
Note: This endpoint requires trading
scope in Orderly Key.
PUT
/
v1
/
order
curl --request PUT \
--url https://api.orderly.org/v1/order \
--header 'Content-Type: application/json' \
--header 'orderly-account-id: <orderly-account-id>' \
--header 'orderly-key: <orderly-key>' \
--header 'orderly-signature: <orderly-signature>' \
--header 'orderly-timestamp: <orderly-timestamp>' \
--data '{
"order_id": "<string>",
"symbol": "<string>",
"client_order_id": "<string>",
"order_type": "<string>",
"order_price": 123,
"order_quantity": 123,
"order_amount": 123,
"reduce_only": true,
"visible_quantity": 123,
"side": "<string>",
"order_tag": "<string>"
}'
{
"success": true,
"timestamp": 1702989203989,
"data": {
"status": "EDIT_SENT"
}
}
Headers
Body
application/json
Response
200 - application/json
OK
The response is of type object
.
curl --request PUT \
--url https://api.orderly.org/v1/order \
--header 'Content-Type: application/json' \
--header 'orderly-account-id: <orderly-account-id>' \
--header 'orderly-key: <orderly-key>' \
--header 'orderly-signature: <orderly-signature>' \
--header 'orderly-timestamp: <orderly-timestamp>' \
--data '{
"order_id": "<string>",
"symbol": "<string>",
"client_order_id": "<string>",
"order_type": "<string>",
"order_price": 123,
"order_quantity": 123,
"order_amount": 123,
"reduce_only": true,
"visible_quantity": 123,
"side": "<string>",
"order_tag": "<string>"
}'
{
"success": true,
"timestamp": 1702989203989,
"data": {
"status": "EDIT_SENT"
}
}