Saltar al contenido

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.

preguntada hace 2 años126 visualizaciones

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

respondido hace 2 años

EXPERTO

revisado hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.