Skip to content

Adds a car to the watchlist for a handle

POST
/api/v1/websites/{website_id}/phone_identities/{handle}/add_to_watchlist
curl --request POST \
--url https://dashboard.dealerstudio.com.au/api/v1/websites/example/phone_identities/example/add_to_watchlist \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "car_id": 123 }'

Saves a car against the contact behind the handle. The contact is created on a first save, so a customer who has never opened MyGarage can still save a car. Requires the watchlist:phone_identity permission, the same one the read uses.

website_id
required
string

Website ID

handle
required
string

Pseudonymous handle

Media typeapplication/json
object
car_id
required
integer

Example

123

Car added

Media typeapplication/json
object
success
boolean
car_ids
Array<integer>

Example

{
"success": true,
"car_ids": [
123,
456
]
}

Missing or insufficient API key

Handle is unknown

Media typeapplication/json
object
error
string

Example

{
"error": "unknown_handle"
}