Lead Sources
Partial update lead source
Base model view set providing standardized CRUD operations and error handling.
This view set enforces consistent response formats, error handling patterns, and logging across all API endpoints. Subclasses must override the class variables below.
PATCH
Partial update lead source
Authorizations
Enter your JWT token in the format: Bearer
Path Parameters
A UUID string identifying this Lead Source.
Body
Previous
List leadsReturns leads visible to the caller. All filters are optional and compose with each other — e.g. `?category=Direct&node=NODE_LEAD_NURTURING` returns nurturing Direct leads only.
**N+1 note:** `lead_category`, `source`, and `partner` are fetched in a single JOIN. The `bse` filter executes one SQL subquery (`WHERE id IN (SELECT lead_id FROM lead_participants WHERE user_id = ?)`) — not a per-row lookup.
Next
Partial update lead source
