Manage orders - Get a SKU by ID
Lekéri a termékváltozatot a megadott termékazonosítóhoz és termékváltozat-azonosítóhoz.
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-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
product
|
path | True |
string |
A termékazonosító. |
sku
|
path | True |
string |
A termékváltozat azonosítója. |
version
|
path | True |
string |
|
country
|
query |
string |
Az ország adatai. Kétbetűs országábrázolás |
|
reservation
|
query |
string |
A nem kötelező foglalási hatókör szűrője. |
Kérelem fejléce
Name | Kötelező | Típus | Description |
---|---|---|---|
Authorization | True |
string |
Engedélyezési tulajdonos jogkivonata |
ms-correlationid |
string |
A kérések belső nyomon követésére szolgál. Ha nincs megadva ms-correlationid, a kiszolgáló minden kéréshez létrehoz egy újat |
|
MS-CV |
string |
A kérések belső nyomon követésére szolgál. Ha nincs megadva MS-CV, a kiszolgáló minden kéréshez létrehoz egy újat |
|
ms-requestid |
string |
A kérések idempotensségére szolgál. Ha nincs megadva ms-requestid, a kiszolgáló minden kéréshez újat hoz létre |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
A kérés sikeres volt. A termékváltozat a válasz törzsében lesz visszaadva. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definíciók
Name | Description |
---|---|
Contracts. |
|
Contracts. |
|
Link | |
Resource |
|
Supported |
|
System. |
Contracts.V1.Models.Sku
Name | Típus | 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
Name | Típus | Description |
---|---|---|
attestationType |
string |
|
enforceAttestation |
boolean |
Link
Name | Típus | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
ResourceLinks
Name | Típus | Description |
---|---|---|
next | ||
previous | ||
self |
SupportedBillingCycles
Name | Típus | Description |
---|---|---|
annual |
string |
|
monthly |
string |
|
none |
string |
|
one_time |
string |
|
triennial |
string |
|
unknown |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Típus | Description |
---|---|---|
key |
string |
|
value |
string |