BizKitHub
DocsAPI ReferenceWarehouse Production/bff/warehouse/production/order/complete

/bff/warehouse/production/order/complete

One transaction: material leaves (production_out, FIFO cost), the product arrives (production_in) with unit cost = (material + labour) / quantity, which also becomes the product catalogue cost. A planned order is reserved first. Fails with the list of missing material.

Warehouse productionpostBffWarehouseProductionOrderComplete

Parameters

JSON body

Request body

application/json
idnumberRequired

Production order id.

Response schema

1 status code documented

200Success
success"true"Required
numberstringRequired
materialCostnumberRequired
labourCostnumberRequired
unitCostnumberRequired
costCurrencystringRequired
uncostedQuantitynumberRequired

Material units without a FIFO layer, priced from the catalogue cost.

Response example

application/json
{
  "success": true,
  "number": "example_number",
  "materialCost": 0,
  "labourCost": 0,
  "unitCost": 0,
  "costCurrency": "example_costCurrency",
  "uncostedQuantity": 0
}

Request example

POST /bff/warehouse/production/order/complete

post
curl -X POST "https://api.bizkithub.com/bff/warehouse/production/order/complete" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "id": 0
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key