Passer au contenu

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.

demandé il y a 2 ans125 vues

1 réponse
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

répondu il y a 2 ans

EXPERT

vérifié il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.