Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

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

Tip

Valid Tokens: Company and Vendor.

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


Filter by label (Content by label)
showLabelsfalse
max5
titleRelated Articles
cqllabel in ( "purchase-orders" , "purchase-order-api" , "purchase-order-management" )

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.


Code Block
{
  "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.


Code Block
 {
  "status": "1",
  "message": "OK"
 }

...