Applies to: Partner Center | Partner Center operated by 21Vianet | Partner Center for Microsoft Cloud for US Government
You can use the following methods to get a collection of products for an existing customer.
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).
The value is a GUID-formatted customer-tenant-id, which is an identifier that allows you to specify a customer.
targetView
string
Yes
Identifies the target view of the catalog. The supported values are:
Azure, which includes all Azure items
AzureReservations, which includes all Azure reservation items
AzureReservationsVM, which includes all virtual machine (VM) reservation items
AzureReservationsSQL, which includes all SQL reservation items
AzureReservationsCosmosDb, which includes all Cosmos database reservation items
MicrosoftAzure, which includes items for Microsoft Azure subscriptions (MS-AZR-0145P) and Azure plans
OnlineServices, which includes all online service items. This targetView includes commercial marketplace, traditional license-based services and new commerce license-based services
Software, which includes all software items
SoftwareSUSELinux, which includes all software SUSE Linux items
SoftwarePerpetual, which includes all perpetual software items
SoftwareSubscriptions, which includes all software subscription items
SpecializedOffers,which includes specialized offers that have been made available to some partners
Request for a list of Azure usage-based products available to a given customer. Products for both Microsoft Azure (MS-AZR-0145P) and Azure plans will be returned for customers in public cloud:
The new commerce experiences for license-based services include many new capabilities and are available to all Cloud Solution Provider (CSPs). For more information, see new commerce experiences overview.
Follow this example to get a list of products by country/region for new commerce license-based services as part of the new commerce experience technical preview. New commerce license-based services will be identified by ID and displayNames values of OnlineServicesNCE. See response example below.
Each response comes with an HTTP status code that indicates success or failure and additional debugging information. Use a network trace tool to read this code, error type, and additional parameters. For the full list, see Partner Center error codes.
This method returns the following error codes:
HTTP Status Code
Error code
Description
403
400036
Access to the requested targetView isn't allowed.
Response example for Microsoft Azure and Azure plan
Response example for new commerce license-based services
หมายเหตุ
The new commerce experiences for license-based services include many new capabilities and are available to all Cloud Solution Provider (CSPs). For more information, see new commerce experiences overview.
HTTP
{
"totalCount": 19,
"items": [{
"id": "CFQ7TTC0LH18",
"title": "Microsoft 365 Business Basic",
"description": "Best for businesses that need professional email, cloud file storage, and online meetings & chat. Desktop versions of Office apps like Excel, Word, and PowerPoint not included. For businesses with up to 300 employees.",
"productType": {
"id": "OnlineServicesNCE",
"displayName": "OnlineServicesNCE"
},
"isMicrosoftProduct": true,
"publisherName": "Microsoft Corporation",
"links": {
"skus": {
"uri": "/products/CFQ7TTC0LH18/skus?country=US",
"method": "GET",
"headers": []
},
"self": {
"uri": "/products/CFQ7TTC0LH18?country=US",
"method": "GET",
"headers": []
}
}
},
...
],
"links": {
"self": {
"uri": "/products?country=US&targetView=OnlineServices",
"method": "GET",
"headers": []
}
},
"attributes": {
"objectType": "Collection"
}
}
Microsoft Dynamics 365 helps organize and manage even the most complex product catalog to support your customers in customer engagement scenarios (for example, sales and column service). In this module, you learn how to define products, families, and bundles, take advantage of product properties, and define price lists. You also learn about pricing options for increased consistency and efficiency.