to get a personalized navigation.
to get a personalized navigation.
We are trying to update shipment lines for a shipment with:
https://integration.visma.net/API/controller/api/v1/shipment/SH240854
Hi! Could you double-check that the shipment not only contains three lines but also that these lines are assigned to lineNumber 1, lineNumber 2, and lineNumber 3? If the three orders are placed, for example, on lineNumber 1, lineNumber 3, and lineNumber 4, you will receive the error “ 'message': 'Shipment Line: '2' not found.' ” when trying to update lineNumber 2.
Hmm, using linenumber is not really handy. We don't want to keep track of which item is on which linenumber. Why does this method not support an inventory id? No basially I need to load the shipment after sending, read it and link inventory ID's with linenumber. Bascially when we create an order we are not aware of linenumbers.
Line numbers are needed to keep an unique identifier for a line. InventoryId does not work as a unique identifier. In some shipments it will be the same InventoryId for several lines. A get-request to catch the lineNumber before the put-request is then what you can do.
If you think lineNumbers is not effective for you and think inventoryId can be useful, you can make a post under the Ideas section of this forum.
Copyright © 2022 Visma.com. All rights reserved.