Skip to content

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.

asked 2 years ago124 views

1 Answer
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

answered 2 years ago

EXPERT

reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.