Adds API endpoint for creating a product