How to Get Member Subscriptions Through the API

Link: https://support.brilliantdirectories.com/support/solutions/articles/12000107802

In this article, we will go over how to use the Subscriptions API to retrieve subscription information for a single member.


How to get member subscriptions


The Subscriptions API leverages a single parameter (User ID or Client ID) to retrieve  all the transactions data.


/api/v2/user/subscriptions


Parameters


Only one parameter is required to run the API. It can be either the User ID or the Client ID (the ID from the tblclients table in the billing database).



Example with Postman


Sending the user ID as the parameters:



The results will show all subscriptions from that particular member in a Json Array format: