Manage orders - Get a list of SKUs for a product (by customer)
Recupera todos os skus para a ID do produto fornecido.
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}
Parâmetros do URI
Name | Em | Necessário | Tipo | Description |
---|---|---|---|---|
customer
|
path | True |
string |
O ID do cliente |
product
|
path | True |
string |
O ID do produto. |
version
|
path | True |
string |
|
reservation
|
query |
string |
O filtro de escopo de reserva opcional. |
|
target
|
query |
string |
O filtro de segmento opcional. |
Cabeçalho do Pedido
Name | Necessário | Tipo | Description |
---|---|---|---|
Authorization | True |
string |
Token de portador de autorização |
ms-correlationid |
string |
Usado para rastrear solicitações internamente. Se um ms-correlationid não for fornecido, o servidor gerará um novo para cada solicitação |
|
MS-CV |
string |
Usado para rastrear solicitações internamente. Se um MS-CV não for fornecido, o servidor gerará um novo para cada solicitação |
|
ms-requestid |
string |
Usado para idempotência de solicitações. Se um ms-requestid não for fornecido, o servidor gerará um novo para cada solicitação |
Respostas
Name | Tipo | Description |
---|---|---|
200 OK |
O pedido foi bem-sucedido. Os skus são devolvidos no corpo da resposta. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definições
Contracts.V1.Models.Sku
Name | Tipo | 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 | Tipo | Description |
---|---|---|
attestationType |
string |
|
enforceAttestation |
boolean |
Link
Name | Tipo | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
ResourceAttributes
Name | Tipo | Description |
---|---|---|
etag |
string |
|
objectType |
string |
ResourceCollection[Contracts.V1.Models.Sku]
Name | Tipo | Description |
---|---|---|
attributes | ||
items | ||
links | ||
totalCount |
integer |
ResourceLinks
Name | Tipo | Description |
---|---|---|
next | ||
previous | ||
self |
SupportedBillingCycles
Name | Tipo | Description |
---|---|---|
annual |
string |
|
monthly |
string |
|
none |
string |
|
one_time |
string |
|
triennial |
string |
|
unknown |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Tipo | Description |
---|---|---|
key |
string |
|
value |
string |