Module: Stock

Routes for information around stock
Since:
  • 09/11/2017
Author:
  • Dave

Members


<route> getByAltCode

Route:
MethodPath
GET /api/v1/stock/altcode
returns all possible product combinations from a altcode
Query Parameters:
Name Type Description
altCode string The altcode to search
Since:
  • 09/11/2017
Author:
  • Dave
See:
  • HeelsRealm.StockFinderFragment.getInfoFromAltcode
  • ServiceTablet.stockCheckFragment.getInfoFromAltcode
Example
/api/v1/stock/altcode?altCode=hak202

<route> getByPosCode

Route:
MethodPath
GET /api/v1/stock/poscode
returns all possible product combinations from a poscode
Query Parameters:
Name Type Description
posCode string The posCode to search
Since:
  • 10/11/2017
Author:
  • Dave
See:
  • HeelsRealm.StockFinderFragment.getInfoFromPosCode
  • ServiceTablet.stockCheckFragment.getInfoFromPoscode
Example
/api/v1/stock/poscode?posCode=01223995

<route> getLevels

Route:
MethodPath
GET /api/v1/stock
returns the stock levels for a given posCode
Query Parameters:
Name Type Description
posCode string The posCode to search
Since:
  • 10/11/2017
Author:
  • Dave
See:
  • HeelsRealm.StockFinderFragment.getStockLevels
  • ServiceTablet.stockCheckFragment.getStockLevels
Example
/api/v1/stock?posCode=01223995

<route> getPrice

Route:
MethodPath
GET /api/v1/price
returns the price for a barcode
Query Parameters:
Name Type Description
barcode string The barcode to search
Since:
  • 03/01/2019
Author:
  • Dave
Example
/api/v1/price?barcode=01223995