admin-quotes

Auto Price

Apply AI estimates to all line items on a quote.

For each part in the quote's project that has an AI cost estimate (from DFM analysis), a line item is created or updated with the mid estimate plus the optional margin.

Parts without AI estimates are skipped. The is_human_reviewed flag is not set — an admin must still explicitly review and approve the quote before it can be sent.

post/api/v1/admin/quotes/{quote_id}/auto-price

Path parameters

quote_idstring uuid required

Request body

margin_pctnumber

Percentage margin to add on top of the AI mid estimate (0-100)

Response

Successful Response

appliedinteger required

Number of parts that had AI estimates applied

skippedinteger required

Number of parts without AI estimates (skipped)

skipped_partsstring[] required

Names of the parts that were skipped

total_estimatednumber required

Sum of all line item totals after applying auto-pricing

Changes

No recorded changes to this endpoint across all 1 revision of this API.