Delete a Prebook

Use this method to delete a prebook. 

Valid Tokens: Company.

Related Articles


Request


URL: https://api.kometsales.com/api/v2/prebook

Method: DELETE

Content-Type: application/JSON


Header

authenticationToken (required)(string:50)

Komet Sales security token.


Input parameters

prebookId (required)(integer:20)

Komet Sales internal Prebook ID.

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


{ "prebookId": 90356777 }

Response


message (String:500)

Transaction status description.


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


{ "message": "The prebook was successfully deleted ", "status": 1 }
Peacock