Menu
Feedback
Start here

Known issues

Known issues
Mandatory Specifications are not verified when creating a product through API
Catalog
ID: 522293
Backlog
Published on2/10/2022
Last updated on11/25/2022
1 min read

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
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback