跳至內容

What is the correct Term entry for AWSMarketplace changeset free product

0

I use currently in my changeset.

   {
      "ChangeType":"UpdatePricingTerms",
      "Entity":{
         "Type":"Offer@1.0",
         "Identifier":"$CreateOfferChange.Entity.Identifier"
      },
      "DetailsDocument":{
         "PricingModel":"Free",
         "Terms":[
               {
                  "Type":"UsageBasedPricingTerm",
                  "CurrencyCode":"USD",
                  "RateCards":[
                     {
                        "RateCard":[
                           {
                              "DimensionKey":"t2.micro",
                              "Price":"0.15"
                           }
                        ]
                     }
                  ]
               }
            ]
      }
   },

How to make the Terms correct for a free product in AWSMarketplace.

已提問 2 年前檢視次數 126 次

1 個回答
0

For a free product in AWS Marketplace, the Terms entry in your changeset should be adjusted to reflect that the product is indeed free. The current structure you've provided includes pricing information, which is not appropriate for a free product.

To correctly represent a free product, you should modify the Terms section as follows:

  1. Remove the "UsageBasedPricingTerm" and associated "RateCards" since these are used for paid products.
  2. Instead, use a "FreeTrial" term type with an unlimited duration.

Here's how the corrected Terms section should look for a free product:

"Terms": [
  {
    "Type": "FreeTrial",
    "Description": "This product is free to use",
    "FreeTrialDurationInDays": 0
  }
]

In this structure:

  • The "Type" is set to "FreeTrial"
  • A "Description" field is added to clarify that the product is free
  • "FreeTrialDurationInDays" is set to 0, which indicates an unlimited free period

Also, ensure that the "PricingModel" is set to "Free" as you already have in your example.

By making these changes, your changeset will correctly represent a free product in AWS Marketplace.
Sources
Using the AWS Marketplace Catalog API - AWS Marketplace
Change - AWS Marketplace

已回答 2 年前

專家

已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。