Overview

This method allows you to change the Master AWB for a set of boxes. The boxes that are going to be moved must be in the staging area.Please keep in mind that when this method is used the system will automatically recalculate the freight, handling, and duties using the existing values from the Financial Settings (Setup >> Settings >> Financial Settings). The product landed cost will be updated then.

Request

https://api.kometsales.com/api/box.move.awb

  • Method: GET
  • Content-Type: URL Params

Input parameters:

  • authenticationToken (required)(string:50): Komet Sales security token.
  • awb (required)(string:50): the Master AWB number that will be assigned to the boxes (Format: ###-####-####).
  • shipDate (required) (date): the AWB ship date. If the AWB already has a ship date it will be replaced with this new date. The format must be YYYY-MM-DD.
  • boxCodes (required) (string): you must specify the box codes for your product by separating each box with a comma. Make sure there are no blank spaces in between.

Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.
  • failedBoxes: array of boxes that could not be moved.
    • boxCode

Output example
{
    "status": "1",
    "message": "OK"
    "failedBoxes": [
            "KS265577",
            "KS455589"
    ]
}