Code examples for the submission API
This section provides code examples for using the Microsoft Store submission API in several different programming languages.
Note
In addition to the code examples listed below, we also provide an open-source PowerShell module which implements a command-line interface on top of the Microsoft Store submission API. This module is called StoreBroker. You can use this module to manage your app, flight, and add-on submissions from the command line instead of calling the Microsoft Store submission API directly, or you can simply browse the source to see more examples for how to call this API. The StoreBroker module is actively used within Microsoft as the primary way that many first-party applications are submitted to the Store. For more information, see our StoreBroker page on GitHub.
App submissions, add-on submissions, and package flight submissions
The following articles provide code examples for using the submission API to create app submissions, add-on submissions, and package flight submissions.
- C# sample: submissions for apps, add-ons, and flights
- Java sample: submissions for apps, add-ons, and flights
- Python sample: submissions for apps, add-ons, and flights
Game options and trailers
The following articles provide code examples for using the submission API to define game-specific options and to submit video trailers for apps.
- C# sample: app submission with game options and trailers
- Java sample: app submission with game options and trailers
- Python sample: app submission with game options and trailers
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for