Remove a Stock Item
Delete a specific stock item by serial number or stock item Id.
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | StockItemDelete | Required |
ItemSerialNo | String | Serial number of item to delete. | Required |
StockItemId | Int | Id of item to delete. | Required |
note
Supply either ItemSerailNo or StockItemId.
Response Codes
Code | Message | Information |
---|---|---|
0 | Response Data | See 'Response' example tab |
2 | Missing parameters | Mandatory parameter was not supplied Check StockItemId and ItemSerialNo |
2 | Invalid stockitemid | Integer value is invalid or was not specified (when required) |
2 | StockItem not found | No record found using the specified parameters |
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=StockItemDelete&StockItemId=2540200
Response Data
{ "Code": 0, "Result": { "itemId": 2540200, "itemserialno": "" } }