---
title: "Add Line Item"
method: POST
path: "/api/v1/admin/quotes/{quote_id}/line-items"
tags: ["admin-quotes"]
---

# Add Line Item

`POST /api/v1/admin/quotes/{quote_id}/line-items`

Add a line item to a quote.

The referenced part must belong to the same project as the quote.

## Path parameters

- `quote_id` string, uuid, required

## Request body

- QuoteLineItemCreate — Admin creates a line item on an existing quote. ``part_id`` must reference a part belonging to the same project as the quote. ``quantity`` typically mirrors the part's ``required_quantity`` but can be overridden.
  - `part_id` string, uuid, required
  - `description` string, nullable — Line item description (e.g. material, process details)
  - `quantity` integer, required
  - `unit_price` union — Per-unit price in USD
    - number
    - string
  - `notes` string, nullable — Internal notes for this line item

## Response `201`

Successful Response

- QuoteLineItemResponse — A single line item within a quote. ``total_price`` is computed server-side as ``quantity * unit_price`` when both values are present.
  - `id` string, uuid, required
  - `part_id` string, uuid, required
  - `part_name` string, nullable
  - `description` string, nullable
  - `quantity` integer, required
  - `unit_price` string, nullable
  - `total_price` string, nullable
  - `notes` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/prototyping/apis/prototyping-io-api.md) · [All operations](https://skmtc.dev/prototyping/apis/prototyping-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prototyping/prototyping-io-api/revisions/f4a0079fbb57/schema)
