Manage orders - Get a product by ID
国とロケールの情報を使用して、識別子によって製品を取得します。
GET https://api.partnercenter.microsoft.com/v{version}/products/{product_id}
GET https://api.partnercenter.microsoft.com/v{version}/products/{product_id}?country={country}&reservationScope={reservationScope}
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
product_id
|
path | True |
string |
製品識別子。 |
version
|
path | True |
string |
|
country
|
query |
string |
国情報。 国の 2 文字の表現 |
|
reservation
|
query |
string |
省略可能な予約スコープ フィルター。 |
要求ヘッダー
名前 | 必須 | 型 | 説明 |
---|---|---|---|
Authorization | True |
string |
承認ベアラー トークン |
ms-correlationid |
string |
要求を内部的に追跡するために使用されます。 ms-correlationid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
|
MS-CV |
string |
要求を内部的に追跡するために使用されます。 MS-CV が指定されていない場合、サーバーは要求ごとに新しい CV を生成します |
|
ms-requestid |
string |
要求のべき等性に使用されます。 ms-requestid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
要求は成功しました。 要求された製品は、応答本文で返されます。 Media Types: "application/json", "text/json", "application/xml", "text/xml" |
定義
名前 | 説明 |
---|---|
Contracts. |
|
Contracts. |
|
Contracts. |
|
Link | |
System. |
Contracts.V1.Models.ItemType
名前 | 型 | 説明 |
---|---|---|
displayName |
string |
|
id |
string |
|
subType |
Contracts.V1.Models.Product
名前 | 型 | 説明 |
---|---|---|
description |
string |
|
id |
string |
|
isMicrosoftProduct |
boolean |
|
links | ||
localizedAttributes |
System. |
|
productType | ||
publisherName |
string |
|
title |
string |
Contracts.V1.Models.ProductLinks
名前 | 型 | 説明 |
---|---|---|
next | ||
previous | ||
self | ||
skus |
Link
名前 | 型 | 説明 |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
名前 | 型 | 説明 |
---|---|---|
key |
string |
|
value |
string |