Versions Compared

Key

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

Use this method to delete a prebook. 

Tip

Valid Tokens: Company.


Filter by label (Content by label)
showLabelsfalse
max5
sorttitle
titleRelated Articles
cqllabel in ( "api" , "prebook-delete" , "delete-prebook" , "edit-prebook" , "edit-prebooks" )
labelsweb-order api edit-web order



Request


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

Method: POST

Content-Type:

application

application/JSON


Input parameters

authenticationToken (required)(string:50)

:

Komet Sales security token.


prebookId (required)(integer:20)

:  

Komet Sales internal Prebook ID

that you want to delete

.

You can

obtain

get this value from the prebook.list API method.

Sample Request


Code Block
{
	"authenticationToken": "88ets07ldt0o75pa775jieira8",
	"prebookId": 90356777
}

Response

Output


message (String:500)

: description of the transaction status

Transaction status description.


status (integer:1)

: transaction

Transaction status.

1 for success or 0 for failure.Sample Response

Valid values: 1 = Success | 0 = Failure


Code Block
{
   "message": "The prebook was successfully deleted ",
   "status": 1
}
Tip

Valid Tokens: Company.

Panel
titleRelated Articles
Filter by label (Content by label)showLabelsfalsemax10showSpacefalsesorttitlecqllabel in ( "api" , "prebook-delete" , "delete-prebook" , "edit-prebook" , "edit-prebooks" )labelsweb-order api edit-web order