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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

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

{"Dealer":0,"StockNumber":"String","Ver":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
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}]}]}