Opportunities API
POST/api/v1/opportunities/{id}/complete-action
Product availabilityAlgaPSA

Complete next action

Records the completed action as an interaction and installs the replacement action.

RBAC · opportunities

Path parameters

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

Request body

Content type: application/json · schema CompleteOpportunityActionBodyV1

next_actionstringRequired
min length 1
next_action_duestring <date-time>Required

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.