Richemont.Booster2.PublicApi

<back to all web services

GetStockLookup

Requires Authentication
The following routes are available for this service:
GET/stock/{brand}/lookupGet Serial Number and Article lookup from the database
GetStockLookup Parameters:
NameParameterData TypeRequiredDescription
brandpathstringYesBrand
articleCodequerystringYesArticle Code
serialNumberquerystringYesSerial Number
GetStockLookupResponse Parameters:
NameParameterData TypeRequiredDescription
existsInStockformboolYesExists in Stock?
stockLocationformPosYesStock Locations / POSes
Pos Parameters:
NameParameterData TypeRequiredDescription
nameformstringYesName of the POS
posCodeformstringYesPOS Code
posCodeToBeDisplayedformstringYesPos Code To Be Displayed
countryformstringYesCountry of the POS
cityformstringYesCity of the POS
postalCodeformstringYesPostal Code
stateformstringYesState
streetformstringYesStreet

To override the Content-type in your clients, use the 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.

GET /stock/{brand}/lookup HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	existsInStock: False,
	stockLocation: 
	{
		name: String,
		posCode: String,
		posCodeToBeDisplayed: String,
		country: String,
		city: String,
		postalCode: String,
		state: String,
		street: String
	}
}