Get started with Partner Center APIs

Applies to: Partner Center | Partner Center operated by 21Vianet | Partner Center for Microsoft Cloud for US Government

Partner Center provides a REST API for partners to use to manage customers, subscriptions, and orders.

Get the code

Download the Partner Center SDK.

Note

API access to Partner Center for indirect resellers isn't supported.

Determine your version of Partner Center

Some versions of Partner Center don't have the entire SDK available. For more information, see Developing for Partner Center for Microsoft National Cloud.

Get the samples

For more information about C# snippets, REST samples, and the sample app, see Partner Center samples.

Test environments

While you're initially writing and testing your code, you should use your integration sandbox account (and the corresponding tokens) so that you don't accidentally incur new charges that your company is responsible for paying. For more information about this testing environment, see Set up API access in Partner Center.

When your solution is tested and ready to use on real customer accounts, you need to update your tokens so that you're using a Microsoft Entra client app and secret that correspond to your Primary Partner Center account.

For tips and suggestions about testing and debugging, including more information about Test-in-Production (TiP) and the Integration Sandbox, see Test and debug.

Authentication

To configure your Microsoft Entra authentication so that you can use the Partner Center APIs, see Partner Center authentication.

Important

Microsoft is introducing a secure, scalable framework for authenticating cloud solution provider (CSP) partners and control panel vendors (CPV) through the Microsoft Azure multifactor authentication (MFA) architecture. Partner Center uses Microsoft Entra ID for authentication, and to use the Partner Center APIs you must configure your authentication settings correctly.

For more information, see Enable secure application model.

Get support

Partners can get support at the Partner Center SDK Yammer group. To get more personalized help, developers can use their Microsoft AI Cloud Partner Program support benefits or Premier Support.