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

Lose opportunity

Marks an open opportunity lost with a required loss reason.

RBAC · opportunities

Path parameters

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

Request body

Content type: application/json · schema LoseOpportunityBodyV1

loss_reasonstringRequired
Enum: no_responsechose_competitorpricetimingno_budgetnot_a_fitother
loss_notesstringNullable
lost_tostringNullable

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.