Inventory API

A REST API that provides access to information about the boats, engines, and trailers that make up Boats Group's inventory.

This document provides detailed information about the Inventory API specifically. For information that is common to all Boats Group APIs — namely details about authentication, specifying response formats & API versions, global query parameters, and error codes, please refer to the Overview page.

The base URL for the Inventory API is:

http://api.boats.com/inventory

If you only require information about a particular item, the best way to do that is to send a request to the API with the item's ID as in the following example:

http://api.boats.com/inventory/1234567

Your search results may include the following fields, which are not searchable, but which can be specified by name in the "fields" parameter:

Name Description Example
AdditionalDetailDescription Additional boat description information. It may contain a limited set of HTML tags. This boat is fantastic!
BallastWeightMeasure The amount of weight used to help maintain a boats balance or buoyancy. 8500 lb
BaseMsrpPrice Base manufacturers price. 170.00 USD
BathroomsCountNumeric The number of bathrooms. 2
BeamMeasure The boat's beam. 13.33 ft
BoatEngineLocationCode Boat Engine Location Code Starboard
BoatEngineTypeCode The type of engine on the boat. Inboard/Outboard
BoatHullID Hull identification number. Similar to VIN for automobiles ABC1232323
BoatKeelCode The type of keel, applicable only to sailboats. Canting Keel
BoatLocation Location information about the boat.
BoatCityName The city in which the boat is located. Norfolk
BoatCountryID The country abbreviation in which the boat is located in. US
BoatStateCode The state in which the boat is located. Virginia
BoatName The name of the boat. Jolly Roger
BridgeClearanceMeasure The boat's bridge clearance. 80.0 ft
BuilderName The name of the boat builder. Custom Boat Builders
CabinHeadroomMeasure The boat's cabin headroom. 6.4 ft
CabinsCountNumeric The number of cabins. 2
CompanyName The name of the company selling the boat. Boating USA
ConvertibleSaloonIndicator The ConvertibleSaloonIndicator parameter indicates whether or not the boat has a convertible saloon. on
CruisingSpeedMeasure The boat's cruising speed. 15 mph
DeadriseMeasure The boat's deadrise angle. 22 degree
DesignerName The name of the boat designer. Custom Boat Designers
DisplacementMeasure The displacement weight of the boat. 141,000.0 lb
DisplacementTypeCode The boat's type of displacement. Full Load
DoubleBerthsCountNumeric The number of double berths. 2
DriveTransmissionDescription Drive transmission description. 15 degree V-drive, direct mounted.
DriveTypeCode The boat's drive type. Stern
DriveUp The boat's draft with the drive up. 2.4 ft
DryWeightMeasure Indicates the weight of the item when all fluids are empty. 4000.0 lb
ElectricalCircuitMeasure The rating of the boat's electrical system 110 volt
EngineMakeString The brand of the boat's engine(s). Mercury
EngineModel The model of the boat's engine(s). 40 ELPT FourStroke
EngineModelYear The model year of the boat's engine(s). 2011
EnginePower Power rating for the engine. 120.0 hp
ExternalLink External link data for the boat.
FreeBoardMeasure The vertical distance between the waterline and the top of the hull side. 3.2 ft
FreightPrice Price for freight. Applicable for new inventory. 170.00 USD
FuelTankCapacityMeasure The total volume of fuel the boat can carry. 1000 gal
FuelTankCountNumeric The number of fuel tanks. 2
FuelTankMaterialCode The material used to construct the fuel tanks. Aluminum
HeadsCountNumeric The number of heads. 2
HoldingTankCapacityMeasure The total volume of the black-water holding tanks. 100 gal
HoldingTankCountNumeric The number of black-water holding tanks. 2
HoldingTankMaterialCode The material used to construct the holding tanks. Plastic
Images The images available for the boat.
Priority The priority order of the image 1
Caption A caption for the photo This is the main photo
Uri The photo URL http://www.domain.com/images/photo1.jpg
LastModifiedDateTime The date and time the image was last modified. 2010-05-26T14:38:47-08:00
Images360 The 360 (panoramic) images for the boat
Uri The photo URL http://www.domain.com/images/photo360.jpg
LastModifiedDateTime The date and time the image was last modified. 2010-05-26T14:38:47-08:00
ImmersiveTour Immersive Tour link data for the boat.
Uri The Immersive Tour link for the boat. http://www.domain.com/boatdetails/boatid
Title Some description for the link An Awesome Boat Immersive Tour
IncludedOptionsPrice Price for options added to boat. Applicable for new inventory. 199.00 USD
KeelDown The boat's draft with the keel down. 1.4 ft
KeelUp The boat's draft with the keel up. 4.3 ft
LastModificationDate Date at which the boat information was last updated 2012-08-20
LengthAtWaterLine The length of the boat at the water line. 14 ft
LengthOfDeck The length of the boat's deck. 14 ft
LengthOverall The overall length of the boat. 14 ft
MaxDraft The boat's maximum draft. 8.0 ft
MaximumNumberOfPassengersNumeric The maximum number of passengers the boat can carry. 6
MaximumSpeedMeasure The boat's maximum speed. 18 miles per hour
Office Office information regarding the boat.
Name The name of the office Marine USA
PostalAddress The postal address for the office. 123 Office Street
City The city in which the office is located. Norfolk
State The state in which the office is located. VA
PostCode The postal code for the office. 12345
Country The country in which the office is located. US
Phone A phone number to contact the office. +1 (222) 333-4455
Email An email address to contact the office. [email protected]
OptionActiveIndicator Indicates whether or not the boat should be displayed after it is sold. on
PrepPrice Price for preparing a boat for sale. Applicable for new inventory. 100.00 USD
PriceHideInd The PriceHideInd field means the price shouldn't be displayed. true
PriceQualifier Text to describe pricing. Typically used to describe options. Includes $100 gas gift card.
PropellerCruisingSpeed The propellor RPM at the defined Cruising Speed. 4800
PropellerType The boat's type of propeller. 3 Blade
RangeMeasure The boat's range. 218 mi
RegistrationCountryCode The country in which the boat is registered. Canada
RopeCutterIndicator Whether or not the particular engine is equipped with a rope cutter. true
SalesRep Sales Representative information for the boat.
Name The name of the sales representative assigned to an inventory item. John Doe
PartyID The party id of the sales representative 123
SalesRepMessage A block of HTML with additional information about the sales rep. You can trust me!
SavingsPrice Savings to be subtracted from a boat's price. 200.00 USD
SearchResultsPricePrefixCode A code indicating what message, if any, should be displayed before a boat price in search results. MSRP_STARTING_AT
SingleBerthsCountNumeric The number of single berths. 2
Source The originating system of the record IMT
StockNumber Dealer assigned stock number 123235234
TaxStatusCode Used to indicate if the the Tax has been paid or is not applicable. Possible values are 'Tax Paid', 'Tax Not Paid', and 'Tax Not Applicable' Tax Paid
TotalEngineHoursNumeric The combined running time in hours of all the boat's engines. 760
TotalEnginePowerQuantity Total combined power for all engines on the boat. 3300 HP
TotalLiferaftCapacityNumeric The number of passengers that may be carried in the boat's lifeboat(s). 12
TotalPrice The price of the boat including prep, freight and options. 50000 USD
TwinBerthsCountNumeric The number of twin berths. 2
WarrantyExpirationDate The date the boat's warranty expires. 2012-06-01
WarrantyPeriod The length of the boat's warranty. 2 years
WaterHeaterCapacityMeasure The total volume of water heaters. 100 gal
WaterHeaterCountNumeric The number of water heaters. 2
WaterHeaterMaterialCode The material used to construct the water heaters. Stainless Steel
WaterTankCapacityMeasure The total volume of fresh-water tanks. 100 gal
WaterTankCountNumeric The number of fresh-water tanks. 2
WaterTankMaterialCode The material used to construct the fresh-water tanks. Plastic
WindlassTypeCode The type of windlass installed on the boat. Electric
OriginalPrice The price of the boat in the Original Currency. Cannot be returned separate to Price. 123456 USD

The Inventory API supports several standard units of length and currencies. Parameters that accept units of measurement and currencies are case-insensitive.

{"error":{"message":"Authentication error: invalid API key."}}
<?xml version="1.0"?>
<root><error><message>Authentication error: invalid API key.</message></error></root>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>error</key>
    <dict>
      <key>message</key>
      <string>Authentication error: invalid API key.</string>
    </dict>
  </dict>
</plist>