Update the Status of Boxes in the Inventory

Use this method to update the status of boxes in your inventory.

Valid Tokens: Company.

Table of Contents


Request


URL: https://api.kometsales.com/api/v2/inventory/box/count

Method: PATCH

Content-Type: application/JSON


Headers

authenticationToken (required)(string:50)

Komet Sales security token.


Input Parameters

boxCode (required)(string:200)

The box code.


boxPosition (optional)(string:10)

The rack position.


companyLocationId (optional)(string:10)

The location ID.

This parameter is required for multi-location companies.


 

{ "boxCode": "1324568", "boxPosition": "A000", "companyLocationId": "9" }

Back to top


Response


statusInventory (integer:1)

Transaction status.

Valid values: 0 = Invalid Security Token / Parameter boxCode is required | 1 = Ok | 2 = Box not found | 3 = Box has the same inventory status | 4 = Box was already sold | 11 = Box not in Inventory


message (string:500)

Transaction status description.


{ “boxAlreadyScannedPosition”: “A000”, "statusInventory": "3", "message": "Box has the same inventory status." }

Back to top