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

Set opportunity stage

Sets an open-pipeline stage through the declared-evidence flow the board drag uses; won and lost answer 400 pointing at /win and /lose.

RBAC · opportunities

Path parameters

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

Request body

Content type: application/json · schema SetOpportunityStageBodyV1

stagestringRequired
Enum: identifiedqualifiedassessmentproposedverbalwonlost
detailstringNullable

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.