Skip to main content

Add a Stock Reorder Level

Adjust the stock reorder level for a stock item.

Query String Parameters

NameTypeDescriptionRequired
ActionStringAddStockReorderLevelRequired
StockIdIntUnique Id of the stock.Required
EntityTypeIntContact = 1, Asset = 2.Required
EntityIdIntThe Id of the contact or the asset.Required
QuantityDoubleQuantity determines order level increase.Required
StockReorderIdIntFilter the number of stock items to display.Optional

Response Codes

CodeMessageInformation
0Response DataSee 'Response' example tab
2Missing parameter entitytypeMandatory parameter was not supplied
2Missing parameter stockidMandatory parameter was not supplied
2stockid not a valid integer valueInteger value is invalid or was not specified (when required)
2Missing parameter entityidMandatory parameter was not supplied
2entityid not a valid integer valueInteger value is invalid or was not specified (when required)
2Missing parameter quantityMandatory parameter was not supplied
2quantity not a valid double valueDouble value is invalid or was not specified (when required)
2ex.MessageThe message generated by an internal error when saving the reorder level.

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=AddStockReorderLevel&StockId=3243783&EntityType=1&EntityId=2570304&Quantity=10