Overview

This method allows you to delete a line from an existing purchase order. 

Request

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 ID of the line of the order that you want to delete. You can obtain this value from the purchase.order.list API method.


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

Response

Output:

  • status (integer:1): Transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.

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