Manage orders - Get a product by ID (by customer)
Egy terméket az azonosítója alapján kér le ország- és területi adatok használatával.
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customerId}/products/{product_id}
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customerId}/products/{product_id}?reservationScope={reservationScope}
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
customer
|
path | True |
string |
Az ügyfél azonosítója. |
product_id
|
path | True |
string |
A termékazonosító. |
version
|
path | True |
string |
|
reservation
|
query |
string |
Az opcionális foglalási hatókör szűrője. |
Kérelem fejléce
Name | Kötelező | Típus | Description |
---|---|---|---|
Authorization | True |
string |
Engedélyezési tulajdonos jogkivonata |
ms-correlationid |
string |
A kérések belső nyomon követésére szolgál. Ha nincs megadva ms-correlationid, a kiszolgáló minden kéréshez létrehoz egy újat |
|
MS-CV |
string |
A kérések belső nyomon követésére szolgál. Ha nincs megadva MS-CV, a kiszolgáló minden kéréshez létrehoz egy újat |
|
ms-requestid |
string |
A kérések idempotensségéhez használatos. Ha nincs megadva ms-requestid, a kiszolgáló minden kéréshez létrehoz egy újat |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
A kérés sikeres volt. A kért termékeket a rendszer a válasz törzsében adja vissza. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definíciók
Name | Description |
---|---|
Contracts. |
|
Contracts. |
|
Contracts. |
|
Link | |
System. |
Contracts.V1.Models.ItemType
Name | Típus | Description |
---|---|---|
displayName |
string |
|
id |
string |
|
subType |
Contracts.V1.Models.Product
Name | Típus | Description |
---|---|---|
description |
string |
|
id |
string |
|
isMicrosoftProduct |
boolean |
|
links | ||
localizedAttributes |
System. |
|
productType | ||
publisherName |
string |
|
title |
string |
Contracts.V1.Models.ProductLinks
Name | Típus | Description |
---|---|---|
next | ||
previous | ||
self | ||
skus |
Link
Name | Típus | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Típus | Description |
---|---|---|
key |
string |
|
value |
string |