Richemont.Booster2.PublicApi

<back to all web services

GetStock

Requires Authentication
The following routes are available for this service:
GET/stock/{brand}Get stock
StockRequest Parameters:
NameParameterData TypeRequiredDescription
brandformstringYesBrand
posCodesformList<string>NoPOS Legacy
articleCodesformList<string>NoArticle Codes
includeExtraInfoformboolNoInclude Extra Info
clusterIdsformList<string>NoCluster Id
includeConsignmentNotAuthorizedPOSformboolNoInclude Consignment NotAuthorized POS
includeRSPformboolNoInclude Retail Sales Price in the Output, by default: false
dateFromformDateTime?NoIn Stock Since date from
dateToformDateTime?NoIn Stock Since date to
typeformstringNoItem type, 'standard' OR 'consigned'. By default, all are coming
PosStockItem Parameters:
NameParameterData TypeRequiredDescription
brandformstringYesBrand
posCodeformstringYesPos Code
sharedStockLocationformPosYesShared Stock Location
stockItemsformList<StockItem>NoStock Items
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
StockItem Parameters:
NameParameterData TypeRequiredDescription
articleCodeformstringYesArticle Code
currentStockQuantityformintYesCurrent Stock Quantity
serialNumbersformList<string>NoSerial Numbers
stockPositionsformList<StockPositionItem>YesStock Item in Details
StockPositionItem Parameters:
NameParameterData TypeRequiredDescription
quantityformintYesQuantity
serialNumberformstringNoSerial Number
stockDateformstringYesStock Date
loadedOnDateformstringYesLoaded On Date
typeformstringYesType e.g. consignment or standard
isConsignmentSellableformboolYesIs Consignment Sellable
unitNetAmountformUnitNetAmountNoSell-In Price. Disclaimer: this data will be arriving empty/null due to DealerCost project still being in test phase.
retailSalesPriceformUnitNetAmountNoRetail Sales Price
UnitNetAmount Parameters:
NameParameterData TypeRequiredDescription
currencyIsoCodeformstringYesCurrency Iso Code
valueformdecimal?YesValue

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} HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	
]