Delen via


Manage orders - Get a list of offers for a market (by customer)

Hiermee worden alle aanbiedingen van een partner opgehaald met behulp van de klant-id.

GET https://api.partnercenter.microsoft.com/v{version}/customers/{customerId}/offers
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customerId}/offers?offer_category_id={offer_category_id}&offset={offset}&size={size}

URI-parameters

Name In Vereist Type Description
customerId
path True

string

De klant-id

version
path True

string

offer_category_id
query

string

De id van de aanbiedingscategorie. Optionele paramter. Aanbiedingen filteren op categorie indien opgegeven

offset
query

integer

int32

De paginaverschuiving. Optionele parameter

size
query

integer

int32

Het paginaformaat. Optionele parameter

Aanvraagkoptekst

Name Vereist Type Description
Authorization True

string

Autorisatie Bearer-token

ms-correlationid

string

Wordt gebruikt voor het intern bijhouden van aanvragen. Als er geen ms-correlationid wordt opgegeven, genereert de server een nieuwe voor elke aanvraag

MS-CV

string

Wordt gebruikt voor het intern bijhouden van aanvragen. Als er geen MS-CV wordt opgegeven, genereert de server een nieuwe voor elke aanvraag

ms-requestid

string

Wordt gebruikt voor idempotentie van aanvragen. Als er geen ms-requestid wordt opgegeven, genereert de server een nieuwe voor elke aanvraag

Antwoorden

Name Type Description
200 OK

ResourceCollection[Contracts.V1.Models.Offer]

De aanvraag is geslaagd. De informatie over aanbiedingen van de aangevraagde partner wordt geretourneerd in de antwoordtekst.

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

Definities

Name Description
Contracts.V1.Models.Enums.OfferProduct
Contracts.V1.Models.Offer
Contracts.V1.Models.OfferAttestationProperties
Contracts.V1.Models.OfferCategory
Contracts.V1.Models.OfferLinks
Link
ResourceAttributes
ResourceCollection[Contracts.V1.Models.Offer]
ResourceLinks
SupportedBillingCycles
SupportedCatalogTypes
System.Collections.Generic.KeyValuePair[System.String,System.String]

Contracts.V1.Models.Enums.OfferProduct

Name Type Description
id

string

name

string

type

string

unit

string

Contracts.V1.Models.Offer

Name Type Description
acquisitionType enum:
  • purchase
  • referral
actions

string[]

additionalProperties

object

attestationProperties

Contracts.V1.Models.OfferAttestationProperties

attributes

ResourceAttributes

billing enum:
  • license
  • none
  • usage
category

Contracts.V1.Models.OfferCategory

conversionTargetOffers

string[]

country

string

description

string

hasAddOns

boolean

id

string

isAddOn

boolean

isAutoRenewable

boolean

isAvailableForPurchase

boolean

isInternal

boolean

isMicrosoftProduct

boolean

isTrial

boolean

limit

integer

limitUnitOfMeasure

string

links

Contracts.V1.Models.OfferLinks

locale

string

maximumQuantity

integer

minimumQuantity

integer

name

string

orderService

string

prerequisiteOffers

string[]

product

Contracts.V1.Models.Enums.OfferProduct

providerId

string

providerLocationId

string

providerName

string

rank

integer

reselleeQualifications

string[]

resellerQualifications

string[]

salesGroupId

string

supportedBillingCycles

SupportedBillingCycles[]

supportedCatalogTypes

SupportedCatalogTypes[]

term

integer

termUnitOfMeasure

string

unitType

string

upgradeTargetOffers

string[]

uri

string

Contracts.V1.Models.OfferAttestationProperties

Name Type Description
attestationType

string

enforceAttestation

boolean

Contracts.V1.Models.OfferCategory

Name Type Description
attributes

ResourceAttributes

country

string

id

string

links

ResourceLinks

locale

string

name

string

rank

integer

Name Type Description
learnMore

Link

next

Link

previous

Link

self

Link

Name Type Description
body

string

headers

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

method

string

uri

string

ResourceAttributes

Name Type Description
etag

string

objectType

string

ResourceCollection[Contracts.V1.Models.Offer]

Name Type Description
attributes

ResourceAttributes

items

Contracts.V1.Models.Offer[]

links

ResourceLinks

totalCount

integer

Name Type Description
next

Link

previous

Link

self

Link

SupportedBillingCycles

Name Type Description
annual

string

monthly

string

none

string

one_time

string

triennial

string

unknown

string

SupportedCatalogTypes

Name Type Description
live

string

sandbox

string

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

Name Type Description
key

string

value

string