get
http://{{url}}/api/method/emotive_app.inventory.doctype.stock_no.stock_no.get_stock_item_list_data
This API returns a paginated list of stock items along with selected vehicle, title, and company details. It supports customizable field selection to optimize payload size and performance.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Response Structure
The root key in every response is:
message
messageDepending on the request, this key contains:
rowData– An array of stock item objects (list response)user_info– Additional user-related metadata (if applicable)
When a Single Stock Item Is Returned
- stock_no.name – Unique identifier of the stock item
- vehicle_item.main_image – URL of the vehicle’s primary displayed image
- stock_no.alternate_stock_no – Secondary or alternate stock number assigned to the item
- vehicle_item.vin – Vehicle Identification Number recorded for the unit
- stock_no.inventory_stage – Current stage/status of the item within the inventory workflow
- serial_no.status – Operational or availability status of the vehicle's serial number
- stock_no.sales_status – Sales lifecycle status of the stock item (e.g., available, sold)
- vehicle_title_history.title_status – Current legal title status of the vehicle
- vehicle_title_history.title_type – Type/category of the vehicle’s title (e.g., clean, salvage)
- vehicle_item.current_mileage – Latest recorded mileage on the vehicle
- stock_no.company_branch – Company branch/location associated with this stock item
- stock_no.acquisition_cost – Total cost incurred to acquire the vehicle
- serial_no.company – Company linked to the serial number record
- stock_no.modified – Timestamp of the most recent update to the stock item
- stock_no.acquisition_type – Method or category of acquisition (e.g., trade-in, purchase)
- stock_no.acquisition_date – Date on which the vehicle was acquired
- stock_no.item – Item reference or master item identifier for the stock record
Example Response :
{
"message": {
"rowData": [
{
"stock_no.name": "-02034",
"vehicle_item.main_image": null,
"stock_no.alternate_stock_no": null,
"vehicle_item.vin": "SALFT2BN1AH200936",
"stock_no.inventory_stage": "InTransit",
"serial_no.status": "Inactive",
"stock_no.sales_status": "Not Sold",
"vehicle_title_history.title_status": "Unknown",
"vehicle_title_history.title_type": "Clear",
"vehicle_item.current_mileage": "25000",
"stock_no.company_branch": null,
"stock_no.acquisition_cost": 0.0,
"serial_no.company": "Emotive Auto Sales Inc.",
"stock_no.modified": "2025-03-11 10:30:10.280756",
"stock_no.acquisition_type": "Purchase",
"stock_no.acquisition_date": null,
"stock_no.item": "2010 Land Rover LR2 - SALFT2BN1AH200936 -00001"
},
{
"stock_no.name": "01-00001",
"vehicle_item.main_image": "/private/files/download9f0519.jpg",
"stock_no.alternate_stock_no": "",
"vehicle_item.vin": "5XYKU4A2XBG043259",
"stock_no.inventory_stage": "Pending Sale",
"serial_no.status": "Active",
"stock_no.sales_status": "Contracted",
"vehicle_title_history.title_status": "Received",
"vehicle_title_history.title_type": "Clear",
"vehicle_item.current_mileage": "12",
"stock_no.company_branch": "Emotive Recon Center",
"stock_no.acquisition_cost": 1000.0,
"serial_no.company": "Emotive Auto Sales Inc.",
"stock_no.modified": "2025-09-17 16:10:51.187540",
"stock_no.acquisition_type": "Purchase",
"stock_no.acquisition_date": "2024-03-13",
"stock_no.item": "VH0000001"
}
],
"user_info": {}
}
}