products
Create a new product
post/v1/products
Query parameters
_with_approvalboolean
When true, the product is created in draft state and an approval request is opened automatically based on the configured workflow.
Request body
Example request
{
"code": "PROD-001",
"name": "Notebook Pro",
"price": 3999.99
}Response
Product created
Example response
{
"data": {
"_id": "507f1f77bcf86cd799439011"
}
}