Versions Compared

Key

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

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

Tip

Valid Tokens: Company.


Filter by label (Content by label)
showLabelsfalse
max5
titleRelated Articles
cqllabel in ( "prebook" , "prebook-api" , "company-token" , "prebook-creation" )

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.


Code Block
{
  "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.


Code Block
{
  "status": "1",
  "message": "success"
}
We've encountered an issue exporting this macro. Please try exporting this page again later.