to get a personalized navigation.
The salesCategories array in inventory endpoint contains sales category description, but it should contain id.
For example if you have more than one category with the same name, but different parent, it's not possible to know, to which category an item belongs to.
Please test it and let me know if it's possible for this field to contain categoryId rather than description.
Could you please take a screenshot of what value you expect to show up?
From our end is looks like it shows the correct value(as per UI information):
Thanks for a quick reply.
The value shown is 'description', but I'd also like to see actual 'categoryId' like from SalesCategory endpoint
Let's say that that you have the following category tree:
Magnus Test 2
That means we have two subcategories called 'Test', but from the API we don't know if the item belongs to 'Magnus Test' or 'Magnus Test 2' parent category.
We have opened a case with the development team for them to review.
For future suggestions to changes, we would recommend that you post it in the "Ideas" part of the forum, other users votes in this section will influence the priority the development team has on implementing the changes.
We will move the post there.
Progress in this case will be posted in this thread.
I'd classify this as a bug, because basing on API documentation I'd expect salesCategories:categoryId to return an actual id, which I can then match with data from SalesCategories endpoint. Instead, I get an equivalent of category description.
I agree with RadekK that this should be classified as a bug, noone would expect that "categoryId" does not contain the category Id but rather the category description.
It would essential that we can use the full functionality in Visma.net to support e-platforms seamlessly and not need to administrate in different platforms.
Example of issue we have regarding use for a CustomerMoped Honda * Electric
* 12 volt
* 24 volt * GasolineMoped Yamaha * Electric
* 12 volt * GasolineMoped Suzuki * Electric * Gasoline
Do we have any news concerning this bug?
It makes it difficult when making integrations against e-commerce platforms among others.
got just over the same problem here and agree with the postings in the thread. Its more important to get the ID instead of the name. But maybe both would be nice.
But how to fix this without breaking existing integrations is a good question... I have to integrate now based on what I get now otherwise i will get stuck here 🙂
This is planned to be included in the 9.32.0 release [31/1/23]:
Previously, the "salesCategories" field in Inventory endpoint returned only sales category description. This has now been changed so that the endpoint will return both the category ID and the category description.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Visma Latin America
Visma Developers & Partners
This is Visma
Product & Services
Copyright © 2022 Visma.com. All rights reserved.