Manage orders - Get a product by ID
Retrieves a product by its identifier using country and locale information.
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 Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
product_id
|
path | True |
string |
The product identifier. |
version
|
path | True |
string |
|
country
|
query |
string |
The country information. Two letter representation of country |
|
reservation
|
query |
string |
The optional reservation scope 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 |
The request was successful. The requested products are returned in the response body. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definitions
Name | Description |
---|---|
Contracts. |
|
Contracts. |
|
Contracts. |
|
Link | |
System. |
Contracts.V1.Models.ItemType
Name | Type | Description |
---|---|---|
displayName |
string |
|
id |
string |
|
subType |
Contracts.V1.Models.Product
Name | Type | Description |
---|---|---|
description |
string |
|
id |
string |
|
isMicrosoftProduct |
boolean |
|
links | ||
localizedAttributes |
System. |
|
productType | ||
publisherName |
string |
|
title |
string |
Contracts.V1.Models.ProductLinks
Name | Type | Description |
---|---|---|
next | ||
previous | ||
self | ||
skus |
Link
Name | Type | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Type | Description |
---|---|---|
key |
string |
|
value |
string |