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
productId
path True

string

Die Produkt-ID.

skuId
path True

string

Die sku-ID.

version
path True

string

country
query

string

Die Länderinformationen. Zwei Buchstaben darstellung des Landes

reservationScope
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

Contracts.V1.Models.Sku

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.V1.Models.Sku
Contracts.V1.Models.SkuAttestationProperties
Link
ResourceLinks
SupportedBillingCycles
System.Collections.Generic.KeyValuePair[System.String,System.String]

Contracts.V1.Models.Sku

Name Typ Beschreibung
actions

string[]

attestationProperties

Contracts.V1.Models.SkuAttestationProperties

consumptionType

string

description

string

dynamicAttributes

object

id

string

inventoryVariables

string[]

isTrial

boolean

links

ResourceLinks

maximumQuantity

integer

minimumQuantity

integer

productId

string

provisioningVariables

string[]

purchasePrerequisites

string[]

supportedBillingCycles

SupportedBillingCycles[]

termsOfUseUri

string

title

string

Contracts.V1.Models.SkuAttestationProperties

Name Typ Beschreibung
attestationType

string

enforceAttestation

boolean

Name Typ Beschreibung
body

string

headers

System.Collections.Generic.KeyValuePair[System.String,System.String][]

method

string

uri

string

Name Typ Beschreibung
next

Link

previous

Link

self

Link

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