sales

Update Lead

Edit a lead. stage is not editable here on purpose -- moving is POST /leads/{id}/move, which enforces the path rules and writes a stage_changed event.

⛔ATTRIBUTION IS GATED ABOVE sales:write. Frederick, 2026-08-22: "Keith should not be able to change the source, but I should be able to, and I can correct anyone's that need to be corrected."

source and originated_by_principal_id decide commission -- lead_originators marks every non-salesperson originator as a house account, so moving a lead between those buckets moves money. sales:write is what a salesperson must hold to work leads at all, so it cannot also be the permission that decides who gets paid for them. Editing anything else on the lead is unchanged.

patch/api/sales/leads/{lead_id}

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

lead_id, string uuid required

Request body

UpdateLeadRequest required

Edit a lead in place. Frederick, 2026-08-04: "You should be able to edit leads and deal cards... there might be a difference in pricing -- you'd have to update the new pricing. There might be a difference in ADP."

Every field is Optional and OMISSION MEANS UNCHANGED. est_value_cents is not here (see CreateLeadRequest's own note) -- editing adp recomputes it server-side (pipeline_service.update_lead).

adp, integer nullable
source, string nullable
originated_by_principal_id, string uuid nullable
owner_principal_id, string uuid nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 251 revisions of this API.