Skip to main content

LostDeal marks a deal as lost. `close_reason` is required.

POST 

/api/v1/crm/deals/:id/lost

Sets outcome = "lost", records closed_at and closed_by, and writes a crm.deal.lost activity entry on the parent contact/account.

Errors:

  • NOT_FOUND: deal does not exist.
  • PERMISSION_DENIED: caller lacks write access to the parent object.
  • FAILED_PRECONDITION: deal is already closed.
  • INVALID_ARGUMENT: close_reason is empty.

Request

Responses

A successful response.