How to Get Member Subscriptions Through the API

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

In this article, we will be going over how to Read members subsriptions using the Subscriptions API . 


What this API endpoint allows to do is to gather subscription information from 1 member at the time.


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 1 parameter is needed to run the API: It can either be the User ID or the Client ID (The id of 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: