Make a one-time purchase

Applies to: Partner Center | Partner Center for Microsoft Cloud for US Government

How to make a one-time purchase of software and reservation products such as software subscriptions, perpetual software, and Azure Reserved Virtual Machine (VM) Instances, using the Partner Center API.

Note

Software subscriptions aren't available in the following markets:

Unavailable markets Unavailable markets (continued...) Unavailable markets (continued...)
Åland Islands Greenland Papua New Guinea
American Samoa Grenada Pitcairn Islands
Andorra Guadeloupe Reunion
Anguilla Guam Russian Federation
Antarctica Guernsey Saba
Antigua and Barbuda Guinea Saint Barthélemy
Aruba Guinea-Bissau Saint Lucia
Benin Guyana Saint Martin
Bhutan Haiti Saint Pierre and Miquelon
Bonaire Heard Island and McDonald Islands Saint Vincent and the Grenadines
Bouvet Island Isle of Man Samoa
Brazil Jan Mayen San Marino
British Indian Ocean Territory Jersey São Tomé and Príncipe
British Virgin Islands Kiribati Seychelles
Burkina Faso Kosovo Sierra Leone
Burundi Laos Sint Eustatius
Cambodia Lesotho Sint Maarten
Central African Republic Liberia Solomon Islands
Chad Madagascar Somalia
China Malawi South Georgia and South Sandwich Islands
Christmas Island Maldives South Sudan
Cocos (Keeling) Islands Mali St Helena, Ascension, Tristan da Cunha
Comoros Marshall Islands Suriname
Congo Martinique Svalbard
Congo (DRC) Mauritania Swaziland
Cook Islands Mayotte Timor-Leste
Djibouti Micronesia Togo
Dominica Montserrat Tokelau
Equatorial Guinea Mozambique Tonga
Eritrea Myanmar Turks and Caicos Islands
Falkland Islands Nauru Tuvalu
French Guiana New Caledonia U.S. Outlying Islands
French Polynesia Niger Vanuatu
French Southern Territories Niue Vatican City
Gabon Norfolk Island Wallis and Futuna
Gambia Northern Mariana Islands Yemen
Gibraltar Palau  

 

Note

To purchase perpetual software, you must have been previously qualified. Contact support for more information.

Prerequisites

  • Credentials as described in Partner Center authentication. This scenario supports authentication with both standalone App and App+User credentials.

  • A customer ID (customer-tenant-id). If you don't know the customer's ID, you can look it up in Partner Center by selecting the Customers workspace, then the customer from the customer list, then Account. On the customer’s Account page, look for the Microsoft ID in the Customer Account Info section. The Microsoft ID is the same as the customer ID (customer-tenant-id).

Making a one-time purchase

To make a one-time purchase, use the following steps:

  1. Enablement - (Azure Reserved VM Instance only) Register an active CSP Azure subscription to enable it for purchasing any reservation product.

  2. Discovery - Find and select the products and SKUs you want to purchase and check their availability.

  3. Order submission - Create a shopping cart with the items in your order and submit it.

  4. Get order details - Review the details of an order, all the orders for a customer, or view orders by billing cycle type.

After you've made your one-time purchase, the following scenarios show you how to manage the lifecycle of your products by getting information about your entitlements, and how to retrieve balance statements, invoices, and invoice summaries.

Enablement

Once you've identified the active subscription that you want to add the Azure Reserved VM Instance to, you must register the subscription so that it is enabled. To register an existing Subscription resource so that it is enabled, see Register a subscription.

After registering your subscription, you should confirm that the registration process is completed by checking the registration status. To do this step, see Get subscription registration status.

Discovery

Once the subscription is enabled, you're ready to select products and SKUs and check their availability using the following Partner Center API models:

  • Product - A grouping construct for purchasable goods or services. A product by itself isn't a purchasable item.

  • SKU - A purchasable Stock Keeping Unit (SKU) under a product. SKUs represent the different shapes of the product.

  • Availability - A configuration in which a SKU is available for purchase (such as country/region, currency, and industry segment).

Before making a one-time purchase, complete the following steps:

  1. Identify and retrieve the Product and SKU that you want to purchase. You can do this step by listing the products and SKUs first, or if you already know the IDs of the product and SKU, selecting them.

  2. Check the inventory for a SKU. This step is only needed for SKUs that are tagged with an InventoryCheck prerequisite.

  3. Retrieve the availability for the SKU. You will need the CatalogItemId of the availability when placing the order. It is important to ensure the availability you are retrieving aligns with the correct segment you intend to buy (e.g. commercial, education, non-profit). To get this value, use one of the following APIs:

Order submission

To submit your order, follow these steps:

  1. Create a cart to hold the collection of catalog items that you intend to buy. When you create a Cart, the cart line items are automatically grouped based on what can be purchased together in the same Order.

  2. Check out the cart. Checking out a cart results in the creation of an Order.

Get order details

Once you've created your order, you can retrieve the details of an individual order using the order ID, or get a list of orders for a customer. There is a delay of up to 15 minutes between the time an order is submitted and when it will appear in a list of a customer's orders.

Lifecycle management

As part of managing the lifecycle of your one-time purchases in Partner Center, you can retrieve information about your Entitlements, and get reservation details using the reservation order ID. For examples of how to do this, see Get entitlements.

Invoice and reconciliation

The following scenarios show you how to programmatically view your customer's invoices, and get your account balances and summaries that include one-time charges.

Balance and payment

To get current account balance in your default currency type that is a balance of both recurring and one-time charges, see Get your current account balance

Multi-currency balance and payment

To get your current account balance and a collection of invoice summaries containing an invoice summary with both recurring and one-time charges for each of your customer's currency types, see Get invoice summaries.

Invoices

To get a collection of invoices that show both recurring and one time charges, see Get a collection of invoices.

Single Invoice

To retrieve a specific invoice using the invoice ID, see Get an invoice by ID.

Reconciliation

To get a collection of invoice line item details (Reconciliation line items) for a specific invoice ID, see Get invoice line items.

Download an invoice as a PDF

To retrieve an invoice statement in PDF form using an invoice ID, see Get an invoice statement.