Is there a way to get a user’s membership details like to which plan he has subscribed and his email after login.
Using the link https://www.example.com/ghost/#/members
next to the new member
button there is cog that will allow you to export all members with the following fields.
id
email
name
note
subscribed_to_emails
complimentary_plan
stripe_customer_id
created_at
deleted_at
labels
products
can you please tell me how to get this for the current logged in user in ghost code injection
Portal gets member information by fetching {site}/members/api/member/
. If the user is not logged in it will return a 204.