Update a Prebook

Use this method to update the main attributes of an existing Prebook in Komet Sales.

Valid Tokens: Company.


Related Articles

Request


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

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.


carrierId (optional)(number:20)

Carrier ID.

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


shipDate (optional)(date)

New shipping date.

Date format: YYYY-MM-DD


shipViaId (logical)(integer:1)

Ship Via ID.

Valid values: 1 = Grower | 0 = Warehouse


customerPO (optional)(string:20)

Customer PO#.


comments (optional)(string:200)

Special instructions or comments.


{ "authenticationToken": "token_info_goes_here", "prebookId": 345345, "carrierId": 1878, "shipDate": "2016-08-11", "customerPO": "P099999", "comments": "New instructions" }

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


message (string:500)

Transaction status description.


{ "status": "1", "message": "success" }
Peacock