Add Product
POST {{baseUrl}}/products
Creates a new product.
Request Body
{"category"=>"Jeans", "brand"=>"Union", "color"=>"black", "gender"=>"m", "unitPrice"=>49.99, "unitSalePrice"=>29.99}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"status":"success"}