Getting subscription & in-app purchase information from an App hosted in Microsoft store

Ashutosh Tripathy 1 Reputation point
2021-11-24T11:13:38.443+00:00

Hi Team,

We have an app hosted in Microsoft store.
We want to

  1. Access the subscription/in-app purchase information of the app from backend using java/springboot
  2. What are the MS Store Rest APIs that we can use to validate or communicate to the service.

As we are doing this for first time any pointers or code sample will be absolutely halpful.
Thanks in advance.

Regards,
Ashtuosh

Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
581 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Roy Li - MSFT 26,636 Reputation points Microsoft Employee
    2021-11-25T02:04:13.41+00:00

    Hello,

    Welcome to Microsoft Q&A!

    You can use the Microsoft Store collection API and Microsoft Store purchase API to access entitlement information for these products from your services. These APIs consist of REST methods that are designed to be used by developers with add-on catalogs that are supported by cross-platform services. For example, Microsoft Store collection API could query for products owned by a user and Microsoft Store purchase API could get subscriptions for a user.

    You could learn the full process about how to use the Microsoft Store collection API and Microsoft Store purchase API here: Manage product entitlements from a service. And if you want to get the subscription information of the user, you could take a look at Get subscriptions for a user, which contains the full request example and response body.

    Thank you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    No comments