Klaviyo.Person (klaviyo v2.1.1)
Link to this section Summary
Functions
Retrieve a person.
Returns a batched timeline of all events.
Reeturns a batched timline of all events for one specific type of metric.
Add or update one or more attributes.
Link to this section Functions
Link to this function
get(person_id)
Specs
get(String.t()) :: Klaviyo.Operation.t()
Retrieve a person.
Link to this function
timeline(person_id, params \\ %{})
Specs
timeline(String.t(), map()) :: Klaviyo.Operation.t()
Returns a batched timeline of all events.
Link to this function
timeline_for_type(person_id, metric_id, params \\ %{})
Specs
timeline_for_type(String.t(), String.t(), map()) :: Klaviyo.Operation.t()
Reeturns a batched timline of all events for one specific type of metric.
Link to this function
update(person_id, params)
Specs
update(String.t(), map()) :: Klaviyo.Operation.t()
Add or update one or more attributes.
If an attribute already exists it will be updated. If an attribute does not exist it will be added.