POST
/
purchasedVehicle_oncreate_v2
/
{purchasedVehicleId}
/
vin
Assign VIN to a vehicle
curl --request POST \
  --url https://api.ekhodealer.com/purchasedVehicle_oncreate_v2/{purchasedVehicleId}/vin \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "oemKey": "<string>",
  "vin": "<string>"
}'
{
  "vin": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

purchasedVehicleId
string
required

The ID of the purchased vehicle to which the VIN will be assigned.

Body

application/json
oemKey
string

Key to identify and authenticate the OEM admin.

vin
string

The Vehicle Identification Number to be assigned to the purchased vehicle.

Response

VIN successfully assigned to the purchased vehicle.

vin
string

The VIN that was assigned to the purchased vehicle.