Manage orders - Get a list of SKUs for a product (by customer)

Retrieves all skus for the given product id.

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

URI Parameters

Name In Required Type Description
customerId
path True

string

The customer id

productId
path True

string

The product id.

version
path True

string

reservationScope
query

string

The optional reservation scope filter.

targetSegment
query

string

The optional segment filter.

Request Header

Name Required Type Description
Authorization True

string

Authorization Bearer token

ms-correlationid

string

Used for tracking requests internally. If a ms-correlationid is not provided, the server will generate a new one for each request

MS-CV

string

Used for tracking requests internally. If a MS-CV is not provided, the server will generate a new one for each request

ms-requestid

string

Used for idempotency of requests. If a ms-requestid is not provided, the server will generate a new one for each request

Responses

Name Type Description
200 OK

ResourceCollection[Contracts.V1.Models.Sku]

The request was successful. The skus are returned in the response body.

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

Definitions

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

ResourceAttributes

Name Type Description
etag

string

objectType

string

ResourceCollection[Contracts.V1.Models.Sku]

Name Type Description
attributes

ResourceAttributes

items

Contracts.V1.Models.Sku[]

links

ResourceLinks

totalCount

integer

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