Manage orders - Get add-ons for an offer ID (by customer)
Hämtar tilläggen under det angivna erbjudandet som är tillgängligt för kunden att köpa.
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customerId}/offers/{offer_id}/addons
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
customer
|
path | True |
string |
Kund-ID |
offer_id
|
path | True |
string |
Erbjudande-ID |
version
|
path | True |
string |
Begärandehuvud
Name | Obligatorisk | Typ | Description |
---|---|---|---|
Authorization | True |
string |
Token för auktoriseringsbärare |
ms-correlationid |
string |
Används för att spåra begäranden internt. Om ett ms-correlationid inte anges genererar servern en ny för varje begäran |
|
MS-CV |
string |
Används för att spåra begäranden internt. Om en MS-CV inte tillhandahålls genererar servern en ny för varje begäran |
|
ms-requestid |
string |
Används för idempotens för begäranden. Om ett ms-requestid inte har angetts genererar servern en ny för varje begäran |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
Begäran lyckades. Den begärda partnerns erbjudandeinformation returneras i svarstexten. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definitioner
Contracts.V1.Models.Enums.OfferProduct
Name | Typ | Description |
---|---|---|
id |
string |
|
name |
string |
|
type |
string |
|
unit |
string |
Contracts.V1.Models.Offer
Name | Typ | Description |
---|---|---|
acquisitionType |
enum:
|
|
actions |
string[] |
|
additionalProperties |
object |
|
attestationProperties | ||
attributes | ||
billing |
enum:
|
|
category | ||
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 | ||
locale |
string |
|
maximumQuantity |
integer |
|
minimumQuantity |
integer |
|
name |
string |
|
orderService |
string |
|
prerequisiteOffers |
string[] |
|
product | ||
providerId |
string |
|
providerLocationId |
string |
|
providerName |
string |
|
rank |
integer |
|
reselleeQualifications |
string[] |
|
resellerQualifications |
string[] |
|
salesGroupId |
string |
|
supportedBillingCycles | ||
supportedCatalogTypes | ||
term |
integer |
|
termUnitOfMeasure |
string |
|
unitType |
string |
|
upgradeTargetOffers |
string[] |
|
uri |
string |
Contracts.V1.Models.OfferAttestationProperties
Name | Typ | Description |
---|---|---|
attestationType |
string |
|
enforceAttestation |
boolean |
Contracts.V1.Models.OfferCategory
Name | Typ | Description |
---|---|---|
attributes | ||
country |
string |
|
id |
string |
|
links | ||
locale |
string |
|
name |
string |
|
rank |
integer |
Contracts.V1.Models.OfferLinks
Name | Typ | Description |
---|---|---|
learnMore | ||
next | ||
previous | ||
self |
Link
Name | Typ | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
ResourceAttributes
Name | Typ | Description |
---|---|---|
etag |
string |
|
objectType |
string |
ResourceCollection[Contracts.V1.Models.Offer]
Name | Typ | Description |
---|---|---|
attributes | ||
items | ||
links | ||
totalCount |
integer |
ResourceLinks
Name | Typ | Description |
---|---|---|
next | ||
previous | ||
self |
SupportedBillingCycles
Name | Typ | Description |
---|---|---|
annual |
string |
|
monthly |
string |
|
none |
string |
|
one_time |
string |
|
triennial |
string |
|
unknown |
string |
SupportedCatalogTypes
Name | Typ | Description |
---|---|---|
live |
string |
|
sandbox |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Typ | Description |
---|---|---|
key |
string |
|
value |
string |