Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Overview
Excerpt |
---|
This method allows to delete completely a prebook. Keep in mind that this method only works with company's tokens. |
Request
https://api.kometsales.com/api/prebook.delete
- Method: POST
- Content-Type: 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 this value from the prebook.list API method.
Elite soft json viewer | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
{ "authenticationToken": "88ets07ldt0o75pa775jieira8", "prebookId": 90356777 } |
Response
Output:
- message (String:500): description of the transaction status.
- status (integer:1): transaction status. 1 for success or 0 for failure.
Code Blockelite-soft-json-viewer | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
{ "message": "The prebook was successfully deleted ", "status": 1 } |
Panel | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|