PUT
/
v1
/
portfolios
/
{portfolio_id}
/
orders
/
{order_id}
/
edit
Edit Order
curl --request PUT \
  --url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/orders/{order_id}/edit \
  --header 'Content-Type: application/json' \
  --data '{
  "product_id": "<string>",
  "orig_client_order_id": "<string>",
  "client_order_id": "<string>",
  "base_quantity": "<string>",
  "quote_value": "<string>",
  "limit_price": "<string>",
  "expiry_time": "2023-11-07T05:31:56Z",
  "display_quote_size": "<string>",
  "display_base_size": "<string>",
  "stop_price": "<string>"
}'
{
  "order_id": "<string>"
}

Path Parameters

portfolio_id
string
required

The ID of the portfolio that owns the order

order_id
string
required

The ID of the order being edited

Body

application/json

Response

200 - application/json

A successful response.

The response is of type object.