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

国家/地区信息。 国家/地区的两个字母表示形式

reservationScope
query

string

可选的预留范围筛选器。

请求头

名称 必需 类型 说明
Authorization True

string

授权持有者令牌

ms-correlationid

string

用于在内部跟踪请求。 如果未提供 ms-correlationid,则服务器将为每个请求生成一个新请求

MS-CV

string

用于在内部跟踪请求。 如果未提供 MS-CV,服务器将为每个请求生成一个新请求

ms-requestid

string

用于请求的幂等性。 如果未提供 ms-requestid,服务器将为每个请求生成一个新请求

响应

名称 类型 说明
200 OK

Contracts.V1.Models.Product

请求成功。 请求的产品在响应正文中返回。

Media Types: "application/json", "text/json", "application/xml", "text/xml"

定义

名称 说明
Contracts.V1.Models.ItemType
Contracts.V1.Models.Product
Contracts.V1.Models.ProductLinks
Link
System.Collections.Generic.KeyValuePair[System.String,System.String]

Contracts.V1.Models.ItemType

名称 类型 说明
displayName

string

id

string

subType

Contracts.V1.Models.ItemType

Contracts.V1.Models.Product

名称 类型 说明
description

string

id

string

isMicrosoftProduct

boolean

links

Contracts.V1.Models.ProductLinks

localizedAttributes

System.Collections.Generic.KeyValuePair[System.String,System.String][]

productType

Contracts.V1.Models.ItemType

publisherName

string

title

string

名称 类型 说明
next

Link

previous

Link

self

Link

skus

Link

名称 类型 说明
body

string

headers

System.Collections.Generic.KeyValuePair[System.String,System.String][]

method

string

uri

string

System.Collections.Generic.KeyValuePair[System.String,System.String]

名称 类型 说明
key

string

value

string