Replace a CQP
PUT/api/v1/customer-data/:entity_type/:custom_id/cqps/:cqp_id
Fully replaces a CQP aggregate on a product, item, or material identified by a custom_id scoped to the caller's organization. Writes are restricted to the caller's own catalog; dataProviderCustomId is supported only by LIST and GET. Omitted optional fields reset to their defaults, and the mitigations, verifications, and attachments collections are replaced in full with regenerated child IDs. Server-controlled fields are not writable. PUT preserves the existing CQP source (manual, api, csv_import, or library) as creation provenance.
Request​
Responses​
- 200
- 400
- 401
- 403
- 404
- 500
CQP aggregate replaced. The response retains the CQP's original source.
Validation failed. The response is either field-level validation errors or the duplicate (name, cqpType) error.
Missing or invalid API key.
Authenticated, but not permitted to act on the product.
Product or CQP not found in the applicable catalog scope.
Unexpected server error.