My Products
Help

Breaking change in inventory? Or just me not following information?

by Trygve Storrønningen1 (Updated ‎04-02-2022 12:55 by Trygve Storrønningen1 PARTNER )

Hi, we just discovered a possible breaking change on inventory - it can give critical errors on prices for our customers. 

 

We are based on the following JSON from inventory:
"priceClass": {
    "id": "5"
}
But now we get this:
"priceClassID": "59686",

 

It seems the priceClass JSON object is replaced by priceClassID
Is this intended? Stated somewhere in release notes? If so, from when?

2 REPLIES 2
Accepted solution
Yıldırım
VISMA

by Yıldırım

Hi,

a change related to the performance improvement in Inventory Endpoint that has been released in Visma.Net API 8.82.0 - 01.02.2022 caused DTO inconsistencies, therefore it has now been rolled back. The endpoint should be operating normal as used to. Please let us know if you encounter any issue. 

Accepted solution
Trygve Storrønningen1
PARTNER

by Trygve Storrønningen1 (Updated ‎04-02-2022 13:25 by Trygve Storrønningen1 PARTNER )

In 8.82 performence improvement was introduced on inventory endpoint.
This gave some not intended changes in dto - like priceClass.

Luckily it was introduced with a dynamic feature toggle, and it is already reset in production - now we get both:

"priceClass": {
    "id": "5"
}

 

and


"priceClassID": "59686",

 

Which is ok 🙂