Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Mandatory Specifications are not verified when creating a product through API
Mandatory Specifications are not verified when creating a product through API
ID: 522293
Backlog
Published on 2/10/2022
Last update on 11/25/2022

Summary

Products with mandatory specifications are not supposed to be active if at least one of these specifications are not filled or checked.

Creating the product via Admin guarantees a validation by the catalog about these specifications and the result is that the product remains inactive until they are filled.

However, such validation is not occurring when creating the product via API. The result is that the product can be active even without those specifications being filled.

Simulation

  1. Create a product via API: https://developers.vtex.com/vtex-rest-api/reference/post-product
  2. Select a category that has mandatory product specifications
  3. Do not fulfill the mandatory specifications
  4. Verify that the product has status "Active" when it shouldn't have.

Workaround

No workaround.

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