Manage orders - Get a list of products (by customer)
Načte všechny produkty pomocí informací o zemi a národním prostředí.
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customerId}/products
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customerId}/products?targetView={targetView}&targetSegment={targetSegment}&reservationScope={reservationScope}
Parametry identifikátoru URI
Name | V | Vyžadováno | Typ | Description |
---|---|---|---|---|
customer
|
path | True |
string |
ID zákazníka. |
version
|
path | True |
string |
|
reservation
|
query |
string |
Volitelný filtr rozsahu rezervace. |
|
target
|
query |
string |
Volitelný filtr segmentů. |
|
target
|
query |
string |
Požadované zobrazení katalogu |
Hlavička požadavku
Name | Vyžadováno | Typ | Description |
---|---|---|---|
Authorization | True |
string |
Nosný token autorizace |
ms-correlationid |
string |
Používá se pro interní sledování požadavků. Pokud ms-correlationid není zadaný, server pro každý požadavek vygeneruje nový. |
|
MS-CV |
string |
Používá se pro interní sledování požadavků. Pokud ms-CV není k dispozici, server vygeneruje nový pro každý požadavek. |
|
ms-requestid |
string |
Používá se pro idempotenci požadavků. Pokud ms-requestid není zadaný, server pro každý požadavek vygeneruje nový. |
Odpovědi
Name | Typ | Description |
---|---|---|
200 OK |
Žádost byla úspěšná. Produkty se vrátí v textu odpovědi. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definice
Contracts.V1.Models.ItemType
Name | Typ | Description |
---|---|---|
displayName |
string |
|
id |
string |
|
subType |
Contracts.V1.Models.Product
Name | Typ | Description |
---|---|---|
description |
string |
|
id |
string |
|
isMicrosoftProduct |
boolean |
|
links | ||
localizedAttributes |
System. |
|
productType | ||
publisherName |
string |
|
title |
string |
Contracts.V1.Models.ProductLinks
Name | Typ | Description |
---|---|---|
next | ||
previous | ||
self | ||
skus |
Link
Name | Typ | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
ResourceAttributes
Name | Typ | Description |
---|---|---|
etag |
string |
|
objectType |
string |
ResourceCollection[Contracts.V1.Models.Product]
Name | Typ | Description |
---|---|---|
attributes | ||
items | ||
links | ||
totalCount |
integer |
ResourceLinks
Name | Typ | Description |
---|---|---|
next | ||
previous | ||
self |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Typ | Description |
---|---|---|
key |
string |
|
value |
string |