klaviyo v1.0.0 Klaviyo.Metric

Provides support for the Klaviyo Metrics API.

This module provides access to all known endpoints of the v1 Metrics API.

Link to this section Summary

Functions

Export event data

List of all metrics

Batched timeline of all events

Batched timeline of a single event type

Link to this section Functions

Link to this function export(id, params \\ %{})
export(String.t(), map()) :: Klaviyo.Operation.t()

Export event data.

Link to this function list(params \\ %{})
list(map()) :: Klaviyo.Operation.t()

List of all metrics.

Link to this function timeline_for_all_event_types(params \\ %{})
timeline_for_all_event_types(map()) :: Klaviyo.Operation.t()

Batched timeline of all events.

Link to this function timeline_for_event_type(id, params \\ %{})
timeline_for_event_type(String.t(), map()) :: Klaviyo.Operation.t()

Batched timeline of a single event type.