Partner Center samples

Applies To

  • Partner Center
  • Partner Center operated by 21Vianet
  • Partner Center for Microsoft Cloud Germany
  • Partner Center for Microsoft Cloud for US Government

To help you get up and running quickly with the Partner Center APIs, we provide a sample program, C# managed code snippets, and REST sample requests and responses.

Sample Details
Code snippets For pointers and .NET, Java, and PowerShell code snippets that show how to use the Partner Center managed API to manage customer accounts, get analytics, place orders, manage billing and subscriptions, provide support, and manage accounts and profiles, see Scenarios.
REST samples For sample requests and responses that show how to use the Partner Center REST API to manage customer accounts, get analytics, place orders, manage billing and subscriptions, provide support, and manage accounts and profiles, see Scenarios.
Console test app This app is available in C# and Java, it provides code and some error handling for all of the scenarios listed in the scenarios section.
CSP customer web storefront This site shows a working online store that your customers could use to buy subscriptions to Microsoft products. You can easily create a website for your company with the CSP Customer Storefront Builder Quickstart Guide.
Store web site

Description:

This application shows how to build a web store based on the catalog of offers available to Cloud Solution Provider partners. Customers can create a store account and order software subscriptions through your site.

Get the code:

Download the sample code

What to configure before release:

  • Authentication: App ID & secret.

  • Branding: logo and company name.

  • Welcome message.

  • Offers, including descriptions and prices. The app assumes that the list prices include any applicable taxes. Alternatively, you can add additional logic to calculate tax during checkout.

  • Payment information: provide your own credit card options, PayPal, or other payment types. Before you configure this part, please read the guide Non-payment, fraud, or misuse.