POST
/
purchasedVehicle_oncreate_v2
/
{purchasedVehicleId}
/
vehicleFulfillmentStatus
Update fulfillment status of a vehicle
curl --request POST \
  --url https://api.ekhodealer.com/purchasedVehicle_oncreate_v2/{purchasedVehicleId}/vehicleFulfillmentStatus \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "oemKey": "<string>",
  "vehicleFulfillmentStatus": "UNFULFILLED",
  "fulfillmentDetails": {
    "vehicleTrackingReference": "<string>",
    "companyName": "<string>",
    "contactNumber": "<string>"
  },
  "estimatedDeliveryDate": "<string>"
}'
{
  "vehicleFulfillmentStatus": "<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 where the fulfillment status will be updated.

Body

application/json
oemKey
string
required

Key to identify and authenticate the OEM admin.

vehicleFulfillmentStatus
enum<string>
required

The fulfillment status to be assigned to the vehicle.

Available options:
UNFULFILLED,
ON_HOLD,
CANCELED,
READY_TO_FULFILL,
FULFILLED,
SHIPPED,
READY_FOR_PICK_UP
fulfillmentDetails
object

Optional. Additional details about the fulfillment - only relevant when vehicleFulfillmentStatus is "SHIPPED".

estimatedDeliveryDate
string

Optional. Updated estimated delivery date of the vehicle. Relevant when vehicleFulfillmentStatus is "SHIPPED" or "READY_FOR_PICK_UP".

Response

Fulfillment status successfully updated on the purchased vehicle.

vehicleFulfillmentStatus
string

The updated fulfillment status set on the purchased vehicle.