スキップしてコンテンツを表示

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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ