question

AshutoshTripathy-6508 avatar image
0 Votes"
AshutoshTripathy-6508 asked RoyLi-MSFT answered

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

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



partner-center-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RoyLi-MSFT avatar image
0 Votes"
RoyLi-MSFT answered

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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.