View source: R/subscriptions.R
paddle_list_subscriptions | R Documentation |
Retrieves a paginated list of subscriptions from the Paddle API.
paddle_list_subscriptions(
id = NULL,
customer_id = NULL,
address_id = NULL,
price_id = NULL,
status = NULL,
scheduled_change_action = NULL,
collection_mode = NULL,
after = NULL,
order_by = NULL,
per_page = NULL
)
id , customer_id , address_id , price_id |
Character vectors. Optional filters. |
status |
Character vector. Optional. Must be one of '"active"', '"cancelled"', '"past_due"', '"paused"', '"trialing"'. |
scheduled_change_action |
Character vector. Optional. Must be one of '"cancel"', '"pause"', '"resume"'. |
collection_mode |
Character. Optional. Must be one of '"automatic"', '"manual"'. |
after |
Character. Optional. Return entities after the specified Paddle ID when working with paginated endpoints. |
order_by |
Character. Optional. Must be in the form "id[ASC]" or "id[DESC]". |
per_page |
Integer. Optional. Max 200, defaults to 50. |
A list with subscription data and pagination metadata.
set_paddle_mode("sandbox")
result <- paddle_list_subscriptions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.