v1
latestOpenAPI 3.0.02026-07-2455104.8 MBProductCalculation
Create product calculation line item V3
This endpoint requires the following scopes: productCalculation:create.
Create a product calculation line item
post/api/v3/products/{id}/calculationItems
Path parameters
idstring required
Request body
Example request
{
"date": "2026-01-01",
"costType": "purchase",
"includeInCalculation": true,
"totalCost": {
"amount": "100.00",
"currency": "EUR"
},
"forQuantity": 10,
"internalComment": "this is an internal comment"
}Response
Create a product calculation line item
Example response
{
"data": {
"id": "33",
"date": "2026-01-01",
"costType": "purchase",
"includeInCalculation": true,
"totalCost": {
"amount": "100.00",
"currency": "EUR"
},
"forQuantity": 10,
"costPerUnit": {
"amount": "10.00",
"currency": "EUR"
},
"purchaseOrder": {
"id": "1234"
},
"editor": {
"id": "17",
"name": "JohnDoe"
},
"internalComment": "this is an internal comment"
}
}