Paddle.Modifier.list

You're seeing just the function list, go back to Paddle.Modifier module for more information.

Specs

list() :: {:ok, [t()]} | {:error, Paddle.Error.t()}

List all subscription modifiers

Optionally, the query accepts the parameter plan_id with the value of a Plan/Product ID, to list all the subscriptions modifiers of a certain plan. It also accepts subscription_id to get modifiers applied to a specific subscription plan.

Examples

Paddle.Modifier.list() 
{:ok, [%Paddle.Modifier{
  modifier_id: 10,
  subscription_id: 12345,
  amount: "1.000",
  currency: "USD",
  is_recurring: false,
  description: "Example Modifier"
}]}