Skip to main content

Update vehicle

End-point to update vehicle added in offline mode for a trip. This end-point could also be used add vehicle separately.

Path Parameters
    tripUUID string required

    Unique identifier for a trip

Header Parameters
    authorization string required

    Base64 encoded basic auth

Request Body required

Update offline vehicle request

    customerVIN string
    dealerDepartmentUUIDList string[]
    requesterUserUUID string
    source string

    Possible values: [DEALER_APP, WEB, PND_API, EXTERNAL_CONTROLLER]

Responses

OK


Schema
    error object
    errorCode string
    errorDescription string
    metadata object
    property name* string
    status boolean
    statusCode int32
    warnings object[]
  • Array [
  • warningCode string
    warningDescription string
  • ]
POST /v3/trip/:tripUUID/offline/update/vehicle

Request

Base URL
//api.mykaarma.com/pickupdelivery
tripUUID — path required
authorization — header required
Body required
{
"customerVIN": "string",
"dealerDepartmentUUIDList": [
"string"
],
"requesterUserUUID": "string",
"source": "DEALER_APP"
}
curl / cURL
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/trip/:tripUUID/offline/update/vehicle' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"customerVIN": "string",
"dealerDepartmentUUIDList": [
"string"
],
"requesterUserUUID": "string",
"source": "DEALER_APP"
}'