Watchlist
Add Watchlist Item
Changed onAdd an instrument to a watchlist
post/v1/watchlists/{watchlist_id}/items
Request
- Base URLhttps://api.clearstreet.com
- AuthHTTP bearer
Path parameters
watchlist_idstring uuid required
Watchlist ID
Request body
Response
Item added successfully
Example response
{
"error": {
"code": 400,
"message": "Order quantity must be greater than zero"
},
"metadata": {
"page_number": 1,
"total_items": 42,
"total_pages": 5
}
}Changes
- breaking
the
request property's minLength was increased from0to1 - breaking
removed
subschema #1subschema #2from therequest propertyoneOflist - breaking
the
request property type changed from no type tostring
- breaking
- breaking
removed
subschema #1subschema #2from therequest propertyoneOflist - info
added
subschema #1subschema #2to therequest propertyoneOflist
- breaking