---
title: "Recompute CPQ Proposal"
method: POST
path: "/estimate/{estimate_uid}/recompute_cpq"
---

# Recompute CPQ Proposal

`POST /estimate/{estimate_uid}/recompute_cpq`

## Request

- Base URL: `https://dc-region.zuperpro.com/api`
- URL: `https://dc-region.zuperpro.com/api/estimate/{estimate_uid}/recompute_cpq`
- Auth: API key in header `x-api-key`

Re-evaluates a CPQ proposal's pricing after something upstream changed (e.g. the CPQ template/formula was edited, product/material pricing changed, or job measurements were updated), without re-running the whole proposal-creation flow. Reuses the same formula/line-item engine as proposal generation and runs fully synchronously (no job queue) so the caller gets immediate results.

Only valid for estimates with `estimate_status` DRAFT or AWAIT_RESPONSE, with a CPQ-type `proposal_template` and a linked `job`. If the estimate was AWAIT_RESPONSE, it's pushed back to DRAFT as part of the recompute.

## Path parameters

- `estimate_uid` string, required

## Request body

- object
  - `measurement_uids` string[]: Optional override of which job measurements to recompute against. Defaults to the estimate's stored scope.
  - `proposal_generation_type` string: Optional override, e.g. MERGE or SPLIT_GROUP. A stored SPLIT_PROPOSAL scope cannot be widened beyond the single measurement it was generated from.
  - `include_parent_measurements` boolean: If true, discards both the requested and stored measurement scope/generation type and recomputes over the job's full parent-measurement set instead.

## Response `200`

200

- object
  - `type` string
  - `message` string
  - `data` object
    - `estimate_uid` string
    - `proposal_generation_type` string
    - `measurements` string[]

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `3c21bc232e16`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zuper/apis/zuper-pro-api/changes/estimate/:estimate_uid/recompute_cpq/post.md)

---

[API](https://skmtc.dev/zuper/apis/zuper-pro-api.md) - [All operations](https://skmtc.dev/zuper/apis/zuper-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zuper/apis/zuper-pro-api/revisions/3c21bc232e16?raw)
