Orders
Edit Order Preview
REST API
- Introduction
- Accounts
- Convert
- Data API
- Fees
- Futures
- Orders
- Payment Methods
- Perpetuals
- Portfolios
- Products
- Public
Orders
Edit Order Preview
Preview an edit order request with a specified new size
, or new price
.
POST
/
api
/
v3
/
brokerage
/
orders
/
edit_preview
Copy
Ask AI
curl --request POST \
--url https://api.coinbase.com/api/v3/brokerage/orders/edit_preview \
--header 'Content-Type: application/json' \
--data '{
"order_id": "<string>",
"price": "19000.00",
"size": "0.001"
}'
Copy
Ask AI
{
"errors": [
{
"edit_failure_reason": "<any>",
"preview_failure_reason": "<any>"
}
],
"slippage": "<string>",
"order_total": "<string>",
"commission_total": "<string>",
"quote_size": "10",
"base_size": "0.001",
"best_bid": "<string>",
"best_ask": "<string>",
"average_filled_price": "<string>"
}
Body
application/json
Response
200
application/json
A successful response.
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://api.coinbase.com/api/v3/brokerage/orders/edit_preview \
--header 'Content-Type: application/json' \
--data '{
"order_id": "<string>",
"price": "19000.00",
"size": "0.001"
}'
Copy
Ask AI
{
"errors": [
{
"edit_failure_reason": "<any>",
"preview_failure_reason": "<any>"
}
],
"slippage": "<string>",
"order_total": "<string>",
"commission_total": "<string>",
"quote_size": "10",
"base_size": "0.001",
"best_bid": "<string>",
"best_ask": "<string>",
"average_filled_price": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.