/
Update Inventory
Update Inventory
Use this method to update the information or amount of an Inventory item.
Valid Tokens: Company.
Related Articles
-
Add Inventory (API)
-
Update Inventory (API)
Request
URL: https://api.kometsales.com/api/inventory.update
Method: POST
Content-Type: application/JSON
Input Parameters
authenticationToken (required)(string:50)
Sales security token.
inventoryId (required)(integer:20)
Inventory Item Line ID.
quantity (optional)(integer:4)
Number of boxes to add to the inventory.
The maximum number of boxes per line is 100.
unitCost (required)(decimal:10,3)
The cost per Unit according to unitType
.
priceA (optional)(decimal:10,3)
The price A.
priceB (optional)(decimal:10,3)
The price B.
{
"authenticationToken": "pfjup3eodu2p9sk729p7jsdl98",
"inventoryId": 903359,
"priceA": 4,
"priceB": 7.919,
"unitCost": 2.9888
}
Response
message (string:500)
Transaction status description.
status (integer:1)
Transaction status.
Valid values: 1 = Success | 0 = Failure
{
"message": "The inventory Item has been updated successfully",
"status": 1
}
Peacock
, multiple selections available,
Related content
Add Inventory
Add Inventory
More like this
Update the Status of Boxes in the Inventory
Update the Status of Boxes in the Inventory
More like this
Update a Product
Update a Product
More like this
Update a Vendor
Update a Vendor
More like this
Update an Invoice Item
Update an Invoice Item
More like this
Update a Customer
Update a Customer
More like this