Delete an Item from a Purchase Order

Use this method to delete a line from an existing Purchase Order.

Valid Tokens: Company and Vendor.

If you are using a Vendor Token, the items to delete must be associated to the Vendor.


Related Articles

Request


URL: https://api.kometsales.com/api/purchase.order.item.delete

Method: POST

Content-Type: application/JSON


Input Parameters

authenticationToken (required)(string:50)

Komet Sales security token.


poItemId (required)(integer:20)

Komet Sales internal Purchase Order Line ID.

You can get this value from the purchase.order.list API method.


{ "authenticationToken": "token_info_goes_here", "poItemId": 265119 }

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


message (string:500)

Transaction status description.


{ "status": "1", "message": "OK" }
Peacock