Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Weight registered in the kit via API is not visible in the interface
Weight registered in the kit via API is not visible in the interface
ID:
Backlog
Published on 8/6/2018
Last update on 12/22/2022

Summary

Although the API (webservice) allows the registration of any value as the final weight of a kit, the SKU registration interface always displays the sum of the total weight of components.

When saving the SKU through the Admin, the value displayed there will overwrite the one registered through the API.

This can lead to two types of unwanted scenarios: the value registered through the API doesn't have easy visibility (diverging from the UI) or a value can be lost without intention (once you save other UI changes).

Finally, you should take into account that the checkout and the shipping calculation are always based on the value of the weight registered for the kit, independent of the individual components.

Simulation

  • Register any weight using the Webservice's StockKeepingUnitInsertUpdate method in a kit SKU;
  • Observe the editing screen of the same SKU, which will present the total value of the components as weight.

Workaround

The registration of a value other than the sum of its components is inadequate. In an integration implementation, you should always try to synchronize this weight with its components.

If there is no integration changing the SKUs, there's no risk of a lack of synchronization, so the administrative interface alone will guarantee the correct kit's final weight.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback