You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 2 Next »
This method allows you to delete items from the available unit's inventory in Komet Sales.
URL: https://api.kometsales.com/api/inventory.units.delete
Method: POST
Content-Type: application/JSON
authenticationToken (required)(string:50): Komet Sales security token.
productCode (required)(string:20): product code of the Komet Sales inventory item.
stemsBunch (required) (integer: 10): stems for bunch.
unitType (required) (string:5): stem or bunch are the unique valid values.
quantity (required) (integer: 10): quantity of units to be added to inventory.
block (required)(string:20): the code of the block.
bed (required)(string:20): the code of the bed.
cutter (integer:10): the code of the cutter.
customerCode (string:20): code of the customer.
cutDate (optional)(date): The cut date (date format YYYY-MM-DD).
{ "authenticationToken": "tkcldomk9s2sb973i0seag334o", "productCode": "235284", "stemsBunch": 10, "unitType": "Bunch", "quantity": 10, "bed": "1-A", "cutter": 123, "customerCode": "365634", "cutDate": "2020-08-15" }
message (string:500): description of the status of the transaction.
status (integer:1): transaction status. 1 for success or 0 for failure.
{ "message": "The inventory in units has been decreased by 10 bunches successfully", "status": "1" }