Skip to main content

Get Stock Types

List all Stock Types or use optional parameters to filter by Stock Type Name or Id

Query String Parameters

NameTypeDescriptionRequired
ActionStringStockTypesRequired
StockTypeNameIntStock type name.Optional
StockTypeIdStringUnique stock type Id.Optional

Response Codes

CodeMessageInformation
0Response DataSee 'Response' example tab
2Invalid Format - stockTypeIdInteger value is invalid or was not specified (when required)
2StockTypeId {stockTypeId} does not exist in JobWatchNo record found using the specified parameters
2StockTypeName {stockTypeName} does not exist in JobWatchNo record found using the specified parameters
2No stock types available for customerNo data returned or set-up in BigChange

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=StockTypes