Search

Mutation

Unknown

Arguments

input· CreateConnectedVehicleInput

Fields

id· ID
Unique ID of the connected vehicle
vehicle_id· ID
Unique ID of the vehicle
status· ConnectedVehicleStatus
Status of the connected vehicle
authorization_url· String
URL to connect the vehicle to the connectivity provider
provider· CarConnectivityProvider
Connectivity provider
scope· ConnectScope
Scope for accessing the vehicle
label· String
Custom label for a connected vehicle that can be assigned by a user
vin· String
Vehicle identification number, unique identifier for a vehicle

Errors

Operations can fail. To handle all errors correctly, consider implementing the following error scenario’s.

auth_token_expired
The token you provided is expired.
auth_token_invalid
The token you provided is invalid.
connect_provider_not_allowed
The Connect provider $PROVIDER is not configured for your client id. Please contact customer support to enable it!
connected_vehicle_per_make_limit_reached
The maximum number of vehicles per make ($LIMIT) was reached.
connected_vehicle_removal_not_allowed
You cannot remove a vehicle with status $STATUS.
enode_proxy_exception
Enode remote did throw an exception that could not be handled.
new_connected_vehicle_invalid_options_enode
Provided options are invalid. Enode requires the following options: redirect_uri, scope.
operation_not_allowed
You are not allowed to execute this operation. Enable it for the current application in the dashboard or reach out to customer support.
rate_limit_exceeded
Rate limit exceeded.
vehicle_already_connected
This vehicle has already been connected to a provider for this user.

Was this helpful?

  • Getting started

    Get started with the Chargetrip API.

  • API reference

    Browse our api and endpoints.

  • Examples

    Explore examples and start building.