Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Use this method to delete an item from an existing Prebook in Komet Sales.

Valid Tokens: Company and Vendor.

Executing this method with a Vendor Token, the item to delete must be associated to the Vendor. The line will not be deleted but the quantity will be updated to zero.


Related Articles

Request


URL: https://api.kometsales.com/api/prebook.item.delete

Method: POST

Content-Type: application/JSON


Input Parameters

authenticationToken (required)(string:20)

Komet Sales security token.


prebookId (required)(integer:20)

Komet Sales internal Prebook ID.

You can get this value from the prebook.create API method.


prebookItemId (required)(number:20)

Komet Sales internal Prebook Item ID.

You can get this value from the prebook.create API method.


{
  "authenticationToken": "token_info_goes_here",
  "prebookId": 85063,
  "prebookItemId": 9999999
}

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


message (string:500)

Transaction status description.


{
  "status": "1",
  "message": "success"
 }
  • No labels