Create a CQP
POST/api/v1/customer-data/:entity_type/:custom_id/cqps
Creates a CQP aggregate, including its mitigations, verifications, and attachments, 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. The combination of name and cqpType must be unique among live original CQPs on the target host. Server-controlled fields are not writable, and a newly created CQP has source set to api. The required cqpForm field must reference a live, active CQP form of the caller's organization by its business form ID; the form's latest template revision is pinned to the CQP at creation and never changed by later updates.
Request​
Responses​
- 201
- 400
- 401
- 403
- 404
- 500
CQP aggregate created with source set to api.
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.