{"section":"known-issues","requestedLocale":"en","requestedSlug":"stockkeepingunit-catalog-api-allows-invalid-commercial-condition-values","locale":"en","slug":"stockkeepingunit-catalog-api-allows-invalid-commercial-condition-values","path":"docs/en/known-issues/Catalog/stockkeepingunit-catalog-api-allows-invalid-commercial-condition-values.md","branch":"main","content":"## Summary\n\n\nCurrently, the stockkeepingunit API https://catalog.vtexcommercestable.com.br/api/catalog/pvt/stockkeepingunit/\\{skuid\\} does not perform any checks for the field \"CommercialConditionId\".\n\nThis allows the user to input invalid data, such as an Id that doesn't exist on a given store and then, when trying to access this sku's form, an error is thrown.\n\n\n#### Simulation\n\n\nOn the payload of the insert SKU API https://developers.vtex.com/docs/api-reference/catalog-api#post-/api/catalog/pvt/stockkeepingunit, use a commercialcondition id that isn't present on the store.\n\nThen, access this created sku's UI and you should face an error message.\n\n\n#### Workaround\n\n\nn/a"}