POST
/
{vin}
/
charges
/
{id}
/
set_cost
Set Charge Cost
curl --request POST \
  --url https://api.tessie.com/{vin}/charges/{id}/set_cost \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "cost": 123
}'
{
  "result": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

vin
string
required

The associated VIN.

id
string
required

The ID of the charge.

Query Parameters

cost
number

The cost of the charge. Leave empty to remove the cost.

Body

application/json

Response

200 - application/json

Success