Opportunities API
POST/api/v1/opportunities/{id}/win
Product availabilityAlgaPSA

Win opportunity

Marks an open opportunity won, optionally converting an accepted linked quote to a draft agreement.

RBAC · opportunities

Path parameters

idstring <uuid>Required
Opportunity UUID from opportunities.opportunity_id.

Request body

Content type: application/json · schema WinOpportunityBodyV1

convert_quote_idstring <uuid>
project_template_idstring <uuid>
project_namestring
min length 1
project_status_idstring <uuid>
project_start_datestring
pattern /^\d{4}-\d{2}-\d{2}$/

Response body

Success response 200 · schema OpportunityApiSuccessV1

dataobjectRequired
metaobject

Response codes

200
Operation succeeded.
400
Validation or request parsing failure.
401
API key missing or invalid.
403
RBAC denied for the opportunities resource action.
404
Opportunity or nested resource not found.
409
Opportunity state conflicts with the requested operation.
500
Unexpected controller or service failure.