Manage orders - Get a product by ID (by customer)
Récupère un produit par son identificateur à l’aide des informations de pays et de paramètres régionaux.
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}
Paramètres URI
Nom | Dans | Obligatoire | Type | Description |
---|---|---|---|---|
customer
|
path | True |
string |
ID du client. |
product_id
|
path | True |
string |
Identificateur du produit. |
version
|
path | True |
string |
|
reservation
|
query |
string |
Filtre d’étendue de réservation facultatif. |
En-tête de la demande
Nom | Obligatoire | Type | Description |
---|---|---|---|
Authorization | True |
string |
Jeton du porteur d’autorisation |
ms-correlationid |
string |
Utilisé pour le suivi des demandes en interne. Si un ms-correlationid n’est pas fourni, le serveur en génère un nouveau pour chaque requête |
|
MS-CV |
string |
Utilisé pour le suivi des demandes en interne. Si un MS-CV n’est pas fourni, le serveur en génère un nouveau pour chaque requête |
|
ms-requestid |
string |
Utilisé pour l’idempotency des requêtes. Si un ms-requestid n’est pas fourni, le serveur en génère un nouveau pour chaque requête |
Réponses
Nom | Type | Description |
---|---|---|
200 OK |
La demande a réussi. Les produits demandés sont retournés dans le corps de la réponse. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Définitions
Nom | Description |
---|---|
Contracts. |
|
Contracts. |
|
Contracts. |
|
Link | |
System. |
Contracts.V1.Models.ItemType
Nom | Type | Description |
---|---|---|
displayName |
string |
|
id |
string |
|
subType |
Contracts.V1.Models.Product
Nom | Type | Description |
---|---|---|
description |
string |
|
id |
string |
|
isMicrosoftProduct |
boolean |
|
links | ||
localizedAttributes |
System. |
|
productType | ||
publisherName |
string |
|
title |
string |
Contracts.V1.Models.ProductLinks
Nom | Type | Description |
---|---|---|
next | ||
previous | ||
self | ||
skus |
Link
Nom | Type | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Nom | Type | Description |
---|---|---|
key |
string |
|
value |
string |