Use this method to change the Master AWB for a set of boxes in the Staging Area.

Valid Tokens: Company.

note

When using this method, the system automatically recalculates the freight, handling, and duties using the existing values from the Financial Settings (Setup > Settings > Financial Settings).

The system will update the landed cost using these new calculations.

When using this method, the system automatically recalculates the freight, handling, and duties using the existing values from the Financial Settings (Setup > Settings > Financial Settings).

The system will update the landed cost using these new calculations.

Request


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

Method: GET

Content-Type: URL Parameters.


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 shipping date. If the AWB already has a ship date it will be replaced with this new date.

Date format: YYYY-MM-DD


boxCodes (required)(string)

The product box codes. Must be separated by commas with no blank spaces in between.


companyLocationId (optional)(integer:20)

The Komet Sales internal Location ID. Only applies to Multi-Location Companies.

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


https://api.kometsales.com/api/box.move.awb?authenticationToken=token_info_goes_here&awb=0981-0621-999&
shipDate=2020-06-21&boxCodes=KS244894880,KS244894881

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


message (string:500)

Transaction status description.


failedBoxes (array)

An array of boxes that could not be moved by box code.


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

defaultcom.atlassian.ecosystemfc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacocke569b03d-9460-4395-99ab-c6a9f100fde3ari:cloud:ecosystem::extension/fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacockdbd51708-ede8-448e-8f92-14fa141f33cadefaultcom.atlassian.ecosystemfc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacocke569b03d-9460-4395-99ab-c6a9f100fde3ari:cloud:ecosystem::extension/fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacockdbd51708-ede8-448e-8f92-14fa141f33ca