---
title: "Derive a bill of materials and live per-unit cost from a spec (1 run)"
method: POST
path: "/packaging/bom"
tags: ["PackagingSuite"]
---

# Derive a bill of materials and live per-unit cost from a spec (1 run)

`POST /packaging/bom`

## Request

- Base URL: `https://opnplatform.com/api`
- URL: `https://opnplatform.com/api/packaging/bom`
- Auth: HTTP bearer

Components are anchored deterministically to live PackIndex values: material cost + conversion = total cost per unit.

## Request body

- object
  - `project_id` integer: Load the saved spec from this project instead
  - `qty` integer: Run quantity for annualised figures
  - `spec` object: Spec object from parse-brief (or edited)

## Response `200`

BoM components with per-unit costs, total, and index anchors

---

[API](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network.md) · [All operations](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network/llms.txt) · [OpenAPI document](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network/revisions/f427c0467bb2?raw)
