共用方式為


Microsoft Store Service APIs

This section provides technical topics that outline the Microsoft Store Service APIs that are available for game services to call. For an overview and additional information about planning and implementing these services with your own game service, see Manage products from your services.

In this section

Fine Grained Rate Limiting for Microsoft Store APIs
Describes the expected calling patterns and fine grained rate limiting for Microsoft Store services calls.

collections.mp.microsoft.com/v9.0/collections/publisherQuery
Describes how to use PublisherQuery (v9 of the Microsoft Store Collections API) to get all the products that a customer owns from your service. This service allows visibility of a user's Xbox Game Pass subscription status as well as streamlined request and response values over b2bLicensePreview (v8).

collections.mp.microsoft.com/v8.0/collections/b2bLicensePreview
Describes how to use B2bLicensePreview (v8 of the Microsoft Store collections API) to get all the products that a customer owns from your service.

collections.mp.microsoft.com/v8.0/collections/consume
Describes how to report Developer-Managed consumables as fulfilled or remove a specified quantity of a Store-Managed consumable from a user's balance.

purchase.mp.microsoft.com/v8.0/b2b/orders/query
Describes how to query for refunded or revoked items that a user had previously consumed. Known as the Clawback service.

purchase.mp.microsoft.com/v8.0/b2b/clawback/sastoken
Generates an SAS token to be able to authenticate with your Clawback event message queue.

purchase.mp.microsoft.com/v7.0/purchases/grant
Describes how to grant a free app or add-on products to a particular user from your service.

purchase.mp.microsoft.com/v8.0/b2b/recurrences/query
Describes how to query for a user's subscription products.

purchase.mp.microsoft.com/v8.0/b2b/recurrences/{recurrenceId}/change
Describes how to change the user's subscription billing state.