Excerpt | ||
---|---|---|
Use this method to delete an item from an existing Prebook in Komet Sales.
|
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.
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|
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.
Code Block |
---|
{ "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.
Code Block |
---|
{ "status": "1", "message": "success" } |