Overview

This method allows you to update an existing prebook on Komet Sales. This method only allows you to update the main attributes of the prebook.

Request

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): the Komet Sales internal Prebook ID that you want to update. You can obtain this value from the prebook.create API method.
  • carrierId (optional) (number:20) : carrier ID. You can obtain 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. ID of location where the product will be shipped from. Assign 0 for warehouse or 1 for grower.
  • customerPO (optional)(string:20): customer purchase order.
  • comments (optional)(string:200): special instructions or comments.


Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.