Delete an Inventory line

Use this method to delete an inventory line.

Valid Tokens: Company.

Sold Boxes cannot be deleted through this method.


Request


URL: https://api.kometsales.com/api/inventory.delete

Method: POST

Content-Type: application/JSON


Input parameters

authenticationToken (required)(string:50)

Komet Sales security token.


InventorylineId (required) (integer:20)

Inventory line ID.

You can get the line ID from the API method inventory.list, in the orderItemId field.


{ "authenticationToken": "88ets07ldt0o75pa775jieira8", "inventoryId": 903567 }

 

Response


message (string)

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