curl --request GET \
--url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/orders/{order_id}/edit_history
{
"order_id": "<string>",
"order_edit_history": [
{
"price": "<string>",
"size": "<string>",
"display_size": "<string>",
"stop_price": "<string>",
"stop_limit_price": "<string>",
"end_time": "2023-11-07T05:31:56Z",
"accept_time": "2023-11-07T05:31:56Z",
"client_order_id": "<string>"
}
],
"edit_history": [
{
"price": "100",
"base_quantity": "1",
"quote_value": "100",
"display_base_size": "1.00",
"display_quote_size": "1.00",
"stop_price": "120",
"expiry_time": "2021-05-31T10:59:59.000Z",
"accept_time": "2021-06-20T10:59:59.000Z",
"client_order_id": "123"
}
]
}
List edit history for a specific order
curl --request GET \
--url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/orders/{order_id}/edit_history
{
"order_id": "<string>",
"order_edit_history": [
{
"price": "<string>",
"size": "<string>",
"display_size": "<string>",
"stop_price": "<string>",
"stop_limit_price": "<string>",
"end_time": "2023-11-07T05:31:56Z",
"accept_time": "2023-11-07T05:31:56Z",
"client_order_id": "<string>"
}
],
"edit_history": [
{
"price": "100",
"base_quantity": "1",
"quote_value": "100",
"display_base_size": "1.00",
"display_quote_size": "1.00",
"stop_price": "120",
"expiry_time": "2021-05-31T10:59:59.000Z",
"accept_time": "2021-06-20T10:59:59.000Z",
"client_order_id": "123"
}
]
}
A successful response.
The response is of type object
.
Was this page helpful?