to get a personalized navigation.
to get a personalized navigation.
"Visma, we have a problem"
The customer has five warehouses, in this story we will focus on warehouse 1 and warehouse 3
Product PN05031-400-1 is in both warehouse 1 and 3
In UI, it all looks good, warehouse 1 is 1 and warehouse 3 is 3
But when we GET
https://integration.visma.net/API/controller/api/v1/inventory/PN05031-400-1
it looks like this:
"warehouseDetails": [ { "isDefault": true, "warehouse": "1", "quantityOnHand": 84, "available": 84, "availableForShipment": 83, "lastModifiedDateTime": "2020-09-24T13:50:57.027" }, { "isDefault": false, "warehouse": "3 ", "quantityOnHand": 50, "available": 50, "availableForShipment": 50, "lastModifiedDateTime": "2020-09-23T08:43:30.273" } ],
As you can see, warehouse 3 is now warehouse
"warehouse": "3 ",
Do you have any ideas why this happens?
My idea is, the API should return the warehouse as it is represented in the UI 😉
PS! This customer sells fast sunglasses, so we hope for a fast solution 😉
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Copyright © 2022 Visma.com. All rights reserved.