The Create Product API should not be hit if the required details, especially the name field, are not filled.