Lot Mapping
Returns the mapped Whisky ID for the requested auction lot number. Also returns the current Whiskybase rating of the Whisky ID.
If the auction lot number is unknown or the lot could not be mapped to a Whisky ID, status code 204 is returned.
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Request Body
auction_house_idstring · requiredThe Whiskystats identifier number for an auction house. Reach out to Whiskystats to request the auction house ID.
auth_codestring · requiredA secret authentication code for each auction house. Reach out to Whiskystats to request the auth code.
lot_numberstring · requiredThe publicly available identifying number of the lot.
Responses
Data Response
lot_numberstringThe requested lot number for reference.
mapped_whisky_idnumberThe mapped Whisky ID. This can either be a Whiskybase ID (prefix "WB") or a Whiskystats Bottle Group ID (prefix"BG"). See our Documentation for more details.
mapped_whiskybase_idstringIf a Whiskystats Bottle Group was mapped, this is the leading Whiskybase ID of that bottle group.
whiskystats_urlstringThe Whiskystats URL for the mapped Whisky ID.
whiskybase_urlstringThe Whiskybase URL for the mapped Whiskybase ID (the leading Whiskybase ID if mapped to a bottle group).
whiskybase_ratingnumberThe Whiskybase rating of the mapped whisky.
whiskybase_rating_countnumberThe number of Whiskybase ratings of the mapped whisky.
Lot Mappings
Returns a list of mappings between lot numbers and Whisky IDs for all identified lots of the requested auction. Also returns the current Whiskybase rating of each respective Whisky ID.
If the auction ID is unknown or no lots could be mapped to a Whisky ID, status code 204 is returned.
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Request Body
auction_house_idstring · requiredThe Whiskystats identifier number for an auction house. Reach out to Whiskystats to request the auction house ID.
auth_codestring · requiredA secret authentication code for each auction house. Reach out to Whiskystats to request the auth code.
auction_idstring · requiredThe (auction house internal) auction identifier number.
Responses
Data Response
lot_numberstringThe requested lot number for reference.
mapped_whisky_idnumberThe mapped Whisky ID. This can either be a Whiskybase ID (prefix "WB") or a Whiskystats Bottle Group ID (prefix"BG"). See our Documentation for more details.
mapped_whiskybase_idstringIf a Whiskystats Bottle Group was mapped, this is the leading Whiskybase ID of that bottle group.
whiskystats_urlstringThe Whiskystats URL for the mapped Whisky ID.
whiskybase_urlstringThe Whiskybase URL for the mapped Whiskybase ID (the leading Whiskybase ID if mapped to a bottle group).
whiskybase_ratingnumberThe Whiskybase rating of the mapped whisky.
whiskybase_rating_countnumberThe number of Whiskybase ratings of the mapped whisky.

