Quotes API
POST/api/v1/quotes/{id}/archive
Product availabilityAlgaPSA

Archive quote

Archives a quote via archive(): allowed from draft, cancelled, rejected and expired; sets status archived plus archived_at and writes a status_changed activity. Any other source status returns 409. This is the Archive alternative offered when DELETE is refused with DEPENDENCIES_EXIST.

RBAC · quote

Path parameters

idstring <uuid>Required
Quote UUID from quotes.quote_id.

Response body

Success response 200 · schema QuotesContractsApiSuccessV1

dataanyOfRequired
anyOf (option 1)object
anyOf (option 2)array of object
itemsobject
metaobject

Response codes

200
Operation succeeded.
201
Create-like operation succeeded.
400
Validation or request parsing failure.
401
API key missing/invalid or associated user missing.
403
RBAC denied for quote resource action.
404
Target record not found.
409
Quote status does not allow archiving; only draft, cancelled, rejected and expired quotes can be archived.
500
Unexpected controller/service failure.