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 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
product_id
|
path | True |
string |
제품 식별자입니다. |
version
|
path | True |
string |
|
country
|
query |
string |
국가 정보입니다. 국가의 두 글자 표현 |
|
reservation
|
query |
string |
선택적 예약 범위 필터입니다. |
요청 헤더
Name | 필수 | 형식 | Description |
---|---|---|---|
Authorization | True |
string |
권한 부여 전달자 토큰 |
ms-correlationid |
string |
내부적으로 요청을 추적하는 데 사용됩니다. ms-correlationid가 제공되지 않으면 서버는 각 요청에 대해 새 상관 관계를 생성합니다. |
|
MS-CV |
string |
내부적으로 요청을 추적하는 데 사용됩니다. MS-CV 제공되지 않으면 서버는 각 요청에 대해 새 MS-CV 생성합니다. |
|
ms-requestid |
string |
요청의 idempotency에 사용됩니다. ms-requestid가 제공되지 않으면 서버는 각 요청에 대해 새 요청을 생성합니다. |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
요청이 성공했습니다. 요청된 제품은 응답 본문에 반환됩니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
정의
Name | Description |
---|---|
Contracts. |
|
Contracts. |
|
Contracts. |
|
Link | |
System. |
Contracts.V1.Models.ItemType
Name | 형식 | Description |
---|---|---|
displayName |
string |
|
id |
string |
|
subType |
Contracts.V1.Models.Product
Name | 형식 | Description |
---|---|---|
description |
string |
|
id |
string |
|
isMicrosoftProduct |
boolean |
|
links | ||
localizedAttributes |
System. |
|
productType | ||
publisherName |
string |
|
title |
string |
Contracts.V1.Models.ProductLinks
Name | 형식 | Description |
---|---|---|
next | ||
previous | ||
self | ||
skus |
Link
Name | 형식 | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | 형식 | Description |
---|---|---|
key |
string |
|
value |
string |