View Source ExPipedrive.Stages (ex_pipedrive v0.1.0)
Pipedrive stages resource.
v2-first helpers (get/2, create/2, update/3, delete/2, list_page/2,
stream/2) talk to /api/v2/stages via ExPipedrive.Resource.
Summary
Functions
Creates a stage via POST /api/v2/stages.
Deletes a stage via DELETE /api/v2/stages/:id.
Fetches a stage by id via GET /api/v2/stages/:id.
Lists one page of stages via API v2 cursor pagination.
Lazily streams stages across all v2 cursor pages until next_cursor is nil.
Updates a stage via PATCH /api/v2/stages/:id.
Functions
Creates a stage via POST /api/v2/stages.
Accepts a map (preferred) or %Stage{}. Returns {:ok, %Stage{}}.
Deletes a stage via DELETE /api/v2/stages/:id.
Fetches a stage by id via GET /api/v2/stages/:id.
Lists one page of stages via API v2 cursor pagination.
Options: :cursor, :limit (clamped to 500), :pipeline_id, :sort_by,
:sort_direction.
Lazily streams stages across all v2 cursor pages until next_cursor is nil.
Updates a stage via PATCH /api/v2/stages/:id.