Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Unique identifier of the purchased vehicle to retrieve.
Query Parameters
Key to identify and authenticate the OEM admin.
Response
Successfully retrieved the purchased vehicle details.
PurchasedVehicle interface Represents a purchased vehicle along with its associated data and metadata.
Unique identifier for the purchased vehicle
The product id associated with this vehicle
The id of the buyer
The full name of the buyer (copied from the buyer object). DO NOT use this for T&R, instead use the names stored in registrationDetails
The order id placed for this vehicle
How much a buyer pays at checkout towards a vehicle. In case of full vehicle payment, this is the total price of the vehicle (without any taxes or fees included and minus any previous payments - like preorder fees). In case of financing, this is the standard down payment (not inclusive of preorder fees). In case of standard reservation, this is the reservation fee.
The name of the vehicle
The base price of the vehicle
The base price of the vehicle including the price of any specs
Array of specs for the vehicle. Each spec includes name, price, option. Description and id are optional.
preorder
, buildToOrder
, inventoryOrder
Indicates if the vehicle is DOT compliant
The date the reservation fee was paid for this vehicle (ms since epoch)
What is the status of the order from a production standpoint?
signOff
, pendingPaymentGuarantee
, pendingVerification
, production
, complete
A reflection of where the order is located in the fulfillment process
FULFILLED
, UNFULFILLED
, READY_TO_FULFILL
, CANCELED
, ON_HOLD
, SHIPPED
, READY_FOR_PICK_UP
Indicates whether sensitive data has been purged from this vehicle. Init as false.
The variant id of the vehicle
The SKU of the vehicle
An array with the document IDs of boltOn purchasedAccessories that have been assigned to this vehicle
The price of the vehicle plus the price of each bolt on accessory minus any discounts! Does not include taxes or fees.
The price of the vehicle plus the price of each bolt on accessory before any discounts are subtracted! Does not include taxes or fees.
Determines the type of order this vehicle belongs to. Defaults to "ORGANIC".
ORGANIC
, PREORDER
, EXISTINGORDER
, OEMORIGINATED
, ABANDONEDCART
The mutually exclusive external (OEM-facing) status that an "order" (purchasedVehicle object) can be in. Used in the OEM Admin Portal to filter orders.
UNCATEGORIZED
, CANCELED
, ON_HOLD
, PENDING
, AWAITING_OEM_ACTION
, AWAITING_BUYER_OR_EKHO_ACTION
, KICK_OFF_FULFILLMENT
, FULFILLMENT_IN_PROGRESS
, FULFILLED
The estimated date of when this vehicle will be finished being produced in ms since epoch. Default initial value to purchasedDate + Vehicle.averageProductionTime
The estimated date of when this vehicle will be delivered (to the buyer or to the pick up location) in ms since epoch. Default initial value will be purchasedDate + Vehicle.totalLeadTime
The government vehicle type (aligns with our INTERNAL_VEHICLE_TYPE_ENUM)
Passenger
, Motorcycle
, Truck
, Commercial
, Trailer
, Moped
, OHV
, Vessel
The last time the buyer viewed the purchased vehicle's details page. Used for nudging.
The following optional properties are provided by the OEM at time of setting vehicleFulfillmentStatus to SHIPPED.
The gross invoice price of the vehicle paid by Ekho to the client
The year of the vehicle model. This is only optional because of backwards compatibility. Gets injected at order creation time.
At time of check out, if this field is set, it means the buyer has opted for pick up.
At time of check out, if this field is set, it means the buyer has opted for delivery.
Registration details object
this object is deprecated and should only be present on old vehicles. New additional dues live in their own array
VIN must be input by the OEM at some point prior to delivery
Must be input by the OEM at some point prior to delivery, or can be auto set
Indicates the odometer validity/condition. Can be autoset
Actual
, ExceedsMechanicalLimits
, NotActual
Must be input by the OEM if the OEM is selling motorcycles
The id of the cart that was used to check out this vehicle. Optional
date for when the vehicle has been last updated
the last date when the OEM has nudged the buyer (also updated when we send emails for VIN and odometer assigned)
URL to the vehicle invoice
An optional object that holds additional information about the vehicle. Example: { randomField: "randomValue" }
answers to a Ekho-hosted survey surfaced in buyer portal
true if the vehicle requires assembly after delivery (optional for backwards compatibility)
Payment selection the buyer has chosen. Initially set during checkout and can be changed in financing. Init as null.
nativeFinancing
, otherFinancing
, checkoutFullPayment
, cashEarly
, cash
The status of payment for this particular purchasedVehicle. Init as null.
RESERVATION_INITIATIED
, NO_PAYMENTS
, RESERVATION_PAID
, DOWNPAYMENT_PAID
, FINANCING_GUARANTEED
, FULLY_PAID
Running total of all money received by Ekho for this vehicle (post refunds). Not all money accounted here will necessarily be collected by Ekho. Initialized at 0.