Skip to main content

Update Vehicle

PUT 

/api/vehicles/update

Update a vehicle in the Ownli System. This method requires the caller to pass in the Id of the vehicle. If the vehicle is active this routine checks for uniqueness of the license plate.

Request

Header Parameters

    partnerId stringrequired

    Partner Id

    clientId stringrequired

    Client Id

    clientSecret stringrequired

    Client Secret

Body

required

    id stringrequired

    Id of the vehicle.

    licensePlate stringrequired

    License plate number of the vehicle. To blank out the license plate pass in an empty string.

    state stringrequired

    2 Letter State Code (eg. AL, CA, CO etc.

Responses

The vehicle object created.

Schema

    id string

    Id of the vehicle

    license string

    License plate number

    photoUrl string

    Photo of Vehicle

    make string

    Make of the vehicle

    model string

    Model of the vehicle

    vin string

    VIN of the vehicle.

    state string

    2 Letter State Code (eg. AL, CA, CO etc.)

    year string

    Year vehicle was built.

    dateAdded string

    Time at which vehicle was added to the system

    updated string

    Last updated timestamp

    userId string

    User id of the owner

    customerPhoneNumber string

    Phone number of the owner

    active boolean
Loading...