Manage orders - Get a SKU by ID
Récupère la référence sku pour l’ID de produit et l’ID de référence sku donnés.
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}
Paramètres URI
Nom | Dans | Obligatoire | Type | Description |
---|---|---|---|---|
product
|
path | True |
string |
ID de produit. |
sku
|
path | True |
string |
ID de la référence SKU. |
version
|
path | True |
string |
|
country
|
query |
string |
Informations sur le pays. Représentation de deux lettres du pays |
|
reservation
|
query |
string |
Filtre d’étendue de réservation facultatif. |
En-tête de la demande
Nom | Obligatoire | Type | Description |
---|---|---|---|
Authorization | True |
string |
Jeton du porteur d’autorisation |
ms-correlationid |
string |
Utilisé pour le suivi des demandes en interne. Si un ms-correlationid n’est pas fourni, le serveur en génère un nouveau pour chaque requête |
|
MS-CV |
string |
Utilisé pour le suivi des demandes en interne. Si un MS-CV n’est pas fourni, le serveur en génère un nouveau pour chaque requête |
|
ms-requestid |
string |
Utilisé pour l’idempotency des requêtes. Si un ms-requestid n’est pas fourni, le serveur en génère un nouveau pour chaque requête |
Réponses
Nom | Type | Description |
---|---|---|
200 OK |
La demande a réussi. La référence SKU est retournée dans le corps de la réponse. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Définitions
Nom | Description |
---|---|
Contracts. |
|
Contracts. |
|
Link | |
Resource |
|
Supported |
|
System. |
Contracts.V1.Models.Sku
Nom | Type | Description |
---|---|---|
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
Nom | Type | Description |
---|---|---|
attestationType |
string |
|
enforceAttestation |
boolean |
Link
Nom | Type | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
ResourceLinks
Nom | Type | Description |
---|---|---|
next | ||
previous | ||
self |
SupportedBillingCycles
Nom | Type | Description |
---|---|---|
annual |
string |
|
monthly |
string |
|
none |
string |
|
one_time |
string |
|
triennial |
string |
|
unknown |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Nom | Type | Description |
---|---|---|
key |
string |
|
value |
string |