v1

latestOpenAPI 3.0.3raw.githubusercontent.com2026-05-1276740.8 KB
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

codestring required
namestring required
pricenumber
categoriesstring[]
attributesobject

Example request

{
  "code": "PROD-001",
  "name": "Notebook Pro",
  "price": 3999.99
}

Response

Product created

Example response

{
  "data": {
    "_id": "507f1f77bcf86cd799439011"
  }
}