Manage orders - Get a list of Skus (by country)

Ruft alle Skus für die angegebene Produkt-ID ab.

GET https://api.partnercenter.microsoft.com/v{version}/products/{productId}/skus
GET https://api.partnercenter.microsoft.com/v{version}/products/{productId}/skus?country={country}&targetSegment={targetSegment}&reservationScope={reservationScope}

URI-Parameter

Name In Erforderlich Typ Beschreibung
productId
path True

string

Die Produkt-ID.

version
path True

string

country
query

string

Die Länderinformationen. Zwei-Buchstaben-Darstellung des Landes

reservationScope
query

string

Der optionale Filter für den Reservierungsbereich.

targetSegment
query

string

Der optionale Segmentfilter.

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

ResourceCollection[Contracts.V1.Models.Sku]

Die Anforderung wurde erfolgreich gesendet. Die Skus werden 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
ResourceAttributes
ResourceCollection[Contracts.V1.Models.Sku]
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

ResourceAttributes

Name Typ Beschreibung
etag

string

objectType

string

ResourceCollection[Contracts.V1.Models.Sku]

Name Typ Beschreibung
attributes

ResourceAttributes

items

Contracts.V1.Models.Sku[]

links

ResourceLinks

totalCount

integer

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