Ingram.Marketplace.SubscriptionManagement.get_subscriptions
You're seeing just the function
get_subscriptions
, go back to Ingram.Marketplace.SubscriptionManagement module for more information.
Specs
get_subscriptions(keyword(), Tesla.Env.client() | nil) :: {:ok, Ingram.Marketplace.Model.InlineResponse2003.t()} | {:error, Tesla.Env.t()}
Retrieve a list of subscriptions Get a list of subscriptions belonging to the customers of the reseller that sends the request.
Parameters
- opts (KeywordList): [optional] Optional parameters
- :customer_id (String.t): The ID of the subscription owner.
- :status (String.t): The Subscription status filter. Available statuses:
pending
active
hold
terminated
*removed
- :creation_date_from (Date.t): Find subscriptions that were created after the specified date.
- :creation_date_to (Date.t): Find subscriptions that were created before the specified date.
- :offset (integer()): The number of items to skip before starting to collect the result set.
- :limit (integer()): The number of items to return.
- connection (Ingram.Marketplace.Connection): Connection to server
Returns
} on success {:error, info} on failure