# Create a new product (Requires Auth) **POST /products** ## Servers - Local development server: http://localhost:3000/api/v1 (Local development server) - Production server: https://referspecs-backend.onrender.com/api/v1 (Production server) ## Authentication methods - Bearer auth ## Parameters ### Body: application/json (object) - **name** (string) - **description** (string | null) - **image** (string | null) URL of the product image - **price** (number(double)) ## Responses ### 201 Product created successfully #### Body: application/json (object) - **id** (string) Unique identifier for the product (CUID) - **name** (string) Name of the product - **description** (string | null) Description of the product - **image** (string | null) URL of the product image - **price** (number(double)) Price of the product ### 401 Unauthorized #### Body: application/json (object) - **message** (string) A message describing the error ### 500 Internal Server Error #### Body: application/json (object) - **message** (string) A message describing the error [Powered by Bump.sh](https://bump.sh)