-
Web Service URL: https://[SERVER_ADDRESS]/GeneralWS/GeneralData2.asmx
-
MPS Version: From 5.34.0
Description
This method removes a stock item from a supplier's inventory list.
Syntax
public string RemoveStockFromSupplier(string properties)
Setting Properties
The content of string properties must be text in JSON format containing the properties listed below. For example:
{"DealerName":"dealer","DealerUserEmail":"user@example.com","DealerUserPassword":"k1BAv1w=="}
You don't need to worry about whether property names are uppercase or lowercase; the Web Service is Case-Insensitive.
Properties accepted by the method
|
Property |
Type |
Required |
Allows null |
Allows empty |
Maximum size |
Description |
|
DealerName |
Text |
Yes |
- |
- |
- |
Provider Name |
|
DealerUserEmail |
Text |
Yes |
- |
- |
- |
Provider User Email |
|
DealerUserPassword |
Text |
Yes |
- |
- |
- |
Encrypted User Password |
|
StockID |
Number |
Yes |
- |
- |
- |
Stock ID. Obtained via the GetDealerStocks method |
|
SupplierID |
Number |
Yes |
- |
- |
- |
Supplier ID |
Return Value
If successful, the return value is: [{“Removed”:true}].
Click here to learn more about the response format.
Possible errors returned
Click here to view the possible errors that may be returned and learn their reasons.
Restrictions
-
To execute this method, the specified user must be a Full Stock Administrator or a Restricted Stock Administrator and must be the specified Stock Manager.