Run in Apidog
Creates a product and returns it.
Request Body Params application/json Required
{
"label" : "Child seat" ,
"category_id" : 2 ,
"description" : "Rear-facing child seat" ,
"value" : "15.00" ,
"taxable" : true ,
"tax_id" : 1
} Responses The new product in data. HTTP 200 is also used for failures: always check success. When it is false, the body is an ErrorUnauthorized (status_code 401 or 403).
{
"success" : true ,
"status_code" : 200 ,
"errors" : [ ] ,
"data" : {
"id" : 7 ,
"label" : "Child seat" ,
"category_id" : 2 ,
"description" : "Rear-facing child seat" ,
"handle" : null ,
"icon" : null ,
"value" : "15.00" ,
"taxable" : true
}
}
Modified at 2026-10-29 13:52:44