products
Create a new product
post/v1/products
Request
- Base URLhttps://pim-api.{{tenant}}.krzlabs.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.