Manage orders - Get a SKU by ID
Ruft die SKU für die angegebene Produkt- und SKU-ID ab.
GET https://api.partnercenter.microsoft.com/v{version}/products/{productId}/skus/{skuId}
GET https://api.partnercenter.microsoft.com/v{version}/products/{productId}/skus/{skuId}?country={country}&reservationScope={reservationScope}
URI-Parameter
Name | In | Erforderlich | Typ | Beschreibung |
---|---|---|---|---|
product
|
path | True |
string |
Die Produkt-ID. |
sku
|
path | True |
string |
Die sku-ID. |
version
|
path | True |
string |
|
country
|
query |
string |
Die Länderinformationen. Zwei Buchstaben darstellung des Landes |
|
reservation
|
query |
string |
Der optionale Reservierungsbereichsfilter. |
Anforderungsheader
Name | Erforderlich | Typ | Beschreibung |
---|---|---|---|
Authorization | True |
string |
Autorisierungs-Bearertoken |
ms-correlationid |
string |
Wird für die interne Nachverfolgung von Anforderungen verwendet. Wenn keine ms-correlationid angegeben wird, generiert der Server für jede Anforderung eine neue. |
|
MS-CV |
string |
Wird für die interne Nachverfolgung von Anforderungen verwendet. Wenn kein MS-CV bereitgestellt wird, generiert der Server für jede Anforderung einen neuen. |
|
ms-requestid |
string |
Wird für Idempotenz von Anforderungen verwendet. Wenn keine ms-requestid angegeben wird, generiert der Server für jede Anforderung eine neue. |
Antworten
Name | Typ | Beschreibung |
---|---|---|
200 OK |
Die Anforderung wurde erfolgreich gesendet. Die SKU wird im Antworttext zurückgegeben. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definitionen
Name | Beschreibung |
---|---|
Contracts. |
|
Contracts. |
|
Link | |
Resource |
|
Supported |
|
System. |
Contracts.V1.Models.Sku
Name | Typ | Beschreibung |
---|---|---|
actions |
string[] |
|
attestationProperties | ||
consumptionType |
string |
|
description |
string |
|
dynamicAttributes |
object |
|
id |
string |
|
inventoryVariables |
string[] |
|
isTrial |
boolean |
|
links | ||
maximumQuantity |
integer |
|
minimumQuantity |
integer |
|
productId |
string |
|
provisioningVariables |
string[] |
|
purchasePrerequisites |
string[] |
|
supportedBillingCycles | ||
termsOfUseUri |
string |
|
title |
string |
Contracts.V1.Models.SkuAttestationProperties
Name | Typ | Beschreibung |
---|---|---|
attestationType |
string |
|
enforceAttestation |
boolean |
Link
Name | Typ | Beschreibung |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
ResourceLinks
Name | Typ | Beschreibung |
---|---|---|
next | ||
previous | ||
self |
SupportedBillingCycles
Name | Typ | Beschreibung |
---|---|---|
annual |
string |
|
monthly |
string |
|
none |
string |
|
one_time |
string |
|
triennial |
string |
|
unknown |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Typ | Beschreibung |
---|---|---|
key |
string |
|
value |
string |