FirstLookServices

<back to all web services

Inventory

The following routes are available for this service:
GET/{ver}/inventory/dealers/{dealer}/{stockNumber}
GET/inventory/dealers/{dealer}/{stockNumber}
GET/{ver}/inventory/dealers/{dealer}
GET/inventory/dealers/{dealer}

To override the Content-type in your clients HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/Inventory HTTP/1.1 
Host: api.firstlook.biz 
Content-Type: text/jsv
Content-Length: length

{
	Dealer: 0,
	StockNumber: String,
	Ver: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	inventory: 
	[
		{
			bucketName: String,
			bucketInventory: 
			[
				{
					inventoryId: 0,
					vin: String,
					year: 0,
					makeModel: String,
					trim: String,
					ageInDays: 0,
					color: String,
					mileage: 0,
					listPrice: 0,
					riskLight: String,
					unitCost: 0,
					stockNumber: String,
					chromeStyleId: 0
				}
			]
		}
	]
}