Overview


This method allows you to change the box codes of an existing set of boxes in Komet Sales.

 


Request

https://api.kometsales.com/api/box.code.change

  • Method: POST
  • Content-Type: application/json

Input Parameters:

  • authenticationToken (required)(string:50): Komet Sales security token.
  • boxes (required)(array): array of items that will be updated.
    • currentBoxCode (required)(string:20): current box code that you want to change.
    • newBoxCode (required)(string:20): new box code.

Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.
  • boxes (array): array of boxes with their corresponding transaction results.
    • newBoxCode (string:20): box code given in the input parameters.
    • status (integer:1): transaction status. 1 for success or 0 for failure.
    • message (string:500): description of the status of the transaction.

Related Articles

Information

This method can be executed with tokens type company and vendor. In case you use a token type vendor, the boxes to change must be associated to the vendor.