Fixed api for product's creation.