POST
/
v1
/
portfolios
/
{portfolio_id}
/
locates
Create New Locates
curl --request POST \
  --url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/locates \
  --header 'Content-Type: application/json' \
  --data '{
  "symbol": "BTC",
  "amount": "100",
  "conversion_date": "2023-11-01T00:00:00.000Z",
  "locate_date": "2023-11-01T00:00:00.000Z"
}'
{
  "locate_id": "<string>"
}

Path Parameters

portfolio_id
string
required

The unique ID of the portfolio

Body

application/json
symbol
string
required

Currency symbol

Example:

"BTC"

amount
string
required

Locate Amount

Example:

"100"

conversion_date
string

Deprecated: Use locate_date instead

Example:

"2023-11-01T00:00:00.000Z"

locate_date
string

The target date of the locate (YYYY-MM-DD)

Example:

"2023-11-01T00:00:00.000Z"

Response

200 - application/json

A successful response.

locate_id
string