Delen via


Manage orders - Get a SKU by ID

Haalt de SKU op voor de opgegeven product-id en SKU-id.

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-parameters

Name In Vereist Type Description
productId
path True

string

De product-id.

skuId
path True

string

De SKU-id.

version
path True

string

country
query

string

De landinformatie. Tweeletterig overzicht van het land

reservationScope
query

string

Het optionele filter voor reserveringsbereik.

Aanvraagkoptekst

Name Vereist Type Description
Authorization True

string

Bearer-token voor autorisatie

ms-correlationid

string

Wordt gebruikt voor het intern bijhouden van aanvragen. Als er geen ms-correlationid wordt opgegeven, genereert de server een nieuwe voor elke aanvraag

MS-CV

string

Wordt gebruikt voor het intern bijhouden van aanvragen. Als er geen MS-CV wordt opgegeven, genereert de server een nieuwe voor elke aanvraag

ms-requestid

string

Wordt gebruikt voor idempotentie van aanvragen. Als er geen ms-requestid wordt opgegeven, genereert de server een nieuwe voor elke aanvraag

Antwoorden

Name Type Description
200 OK

Contracts.V1.Models.Sku

De aanvraag is geslaagd. De SKU wordt geretourneerd in de hoofdtekst van het antwoord.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Definities

Name Description
Contracts.V1.Models.Sku
Contracts.V1.Models.SkuAttestationProperties
Link
ResourceLinks
SupportedBillingCycles
System.Collections.Generic.KeyValuePair[System.String,System.String]

Contracts.V1.Models.Sku

Name Type Description
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 Type Description
attestationType

string

enforceAttestation

boolean

Name Type Description
body

string

headers

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

method

string

uri

string

Name Type Description
next

Link

previous

Link

self

Link

SupportedBillingCycles

Name Type Description
annual

string

monthly

string

none

string

one_time

string

triennial

string

unknown

string

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

Name Type Description
key

string

value

string