Compartir a través de


Manage orders - Get a list of offer categories by market

Obtiene todas las categorías de oferta de un cliente.

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

Parámetros de identificador URI

Nombre En Requerido Tipo Description
customer_id
path True

string

Identificador del cliente.

version
path True

string

Encabezado de la solicitud

Nombre Requerido Tipo Description
Authorization True

string

Token de portador de autorización

ms-correlationid

string

Se usa para realizar el seguimiento de solicitudes internamente. Si no se proporciona un valor ms-correlationid, el servidor generará uno nuevo para cada solicitud.

MS-CV

string

Se usa para realizar el seguimiento de solicitudes internamente. Si no se proporciona un MS-CV, el servidor generará uno nuevo para cada solicitud.

ms-requestid

string

Se usa para la idempotencia de las solicitudes. Si no se proporciona un ms-requestid, el servidor generará uno nuevo para cada solicitud.

Respuestas

Nombre Tipo Description
200 OK

ResourceCollection[Contracts.V1.Models.OfferCategory]

La solicitud fue correcta. Devuelve categorías de oferta en el cuerpo de la respuesta.

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

Definiciones

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

Contracts.V1.Models.OfferCategory

Nombre Tipo Description
attributes

ResourceAttributes

country

string

id

string

links

ResourceLinks

locale

string

name

string

rank

integer

Nombre Tipo Description
body

string

headers

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

method

string

uri

string

ResourceAttributes

Nombre Tipo Description
etag

string

objectType

string

ResourceCollection[Contracts.V1.Models.OfferCategory]

Nombre Tipo Description
attributes

ResourceAttributes

items

Contracts.V1.Models.OfferCategory[]

links

ResourceLinks

totalCount

integer

Nombre Tipo Description
next

Link

previous

Link

self

Link

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

Nombre Tipo Description
key

string

value

string