Udostępnij za pośrednictwem


Manage orders - Get a list of offer categories by market

Pobiera wszystkie kategorie ofert dla klienta.

GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/offercategories

Parametry identyfikatora URI

Nazwa W Wymagane Typ Opis
customer_id
path True

string

Identyfikator klienta.

version
path True

string

Nagłówek żądania

Nazwa Wymagane Typ Opis
Authorization True

string

Token elementu nośnego autoryzacji

ms-correlationid

string

Służy do śledzenia żądań wewnętrznie. Jeśli nie podano identyfikatora ms-correlationid, serwer wygeneruje nowy dla każdego żądania

MS-CV

string

Służy do śledzenia żądań wewnętrznie. Jeśli ms-CV nie zostanie podany, serwer wygeneruje nowy dla każdego żądania

ms-requestid

string

Służy do idempotentności żądań. Jeśli parametr ms-requestid nie zostanie podany, serwer wygeneruje nowy dla każdego żądania

Odpowiedzi

Nazwa Typ Opis
200 OK

ResourceCollection[Contracts.V1.Models.OfferCategory]

Żądanie zakończyło się pomyślnie. Zwraca kategorie ofert w treści odpowiedzi.

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

Definicje

Nazwa Opis
Contracts.V1.Models.OfferCategory
Link
ResourceAttributes
ResourceCollection[Contracts.V1.Models.OfferCategory]
ResourceLinks
System.Collections.Generic.KeyValuePair[System.String,System.String]

Contracts.V1.Models.OfferCategory

Nazwa Typ Opis
attributes

ResourceAttributes

country

string

id

string

links

ResourceLinks

locale

string

name

string

rank

integer

Nazwa Typ Opis
body

string

headers

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

method

string

uri

string

ResourceAttributes

Nazwa Typ Opis
etag

string

objectType

string

ResourceCollection[Contracts.V1.Models.OfferCategory]

Nazwa Typ Opis
attributes

ResourceAttributes

items

Contracts.V1.Models.OfferCategory[]

links

ResourceLinks

totalCount

integer

Nazwa Typ Opis
next

Link

previous

Link

self

Link

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

Nazwa Typ Opis
key

string

value

string