diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2020-09-01-preview/billingPromotions.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2020-09-01-preview/billingPromotions.json index c04950dc4c18..ce04ec821cff 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2020-09-01-preview/billingPromotions.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2020-09-01-preview/billingPromotions.json @@ -307,6 +307,15 @@ "type": "object", "properties": { "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PromotionCheckEligibilityResponsePromptionProperties" + } + } + }, + "PromotionCheckEligibilityResponsePromptionProperties": { + "type": "object", + "properties": { + "promotion": { "x-ms-client-flatten": true, "$ref": "#/definitions/PromotionCheckEligibilityResponseProperties" } diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2020-09-01-preview/examples/PromotionCheckEligibility.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2020-09-01-preview/examples/PromotionCheckEligibility.json index 43526fa5852c..88619396486a 100644 --- a/specification/billing/resource-manager/Microsoft.Billing/preview/2020-09-01-preview/examples/PromotionCheckEligibility.json +++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2020-09-01-preview/examples/PromotionCheckEligibility.json @@ -8,13 +8,15 @@ "200": { "body": { "properties": { - "id": "wvd_promo_30p", - "name": "WVD 30 percent off", - "eligible": true, - "reason": "None", - "details": "", - "eligibilitySubscriptionId": "f6dc64c8-34bb-43d3-96b0-fd2b8c94f1c3", - "expiryDate": "2021-10-01" + "promotion": { + "id": "wvd_promo_30p", + "name": "WVD 30 percent off", + "eligible": true, + "reason": "None", + "details": "", + "eligibilitySubscriptionId": "f6dc64c8-34bb-43d3-96b0-fd2b8c94f1c3", + "expiryDate": "2021-10-01" + } } } }