- Newest
- Most votes
- Most comments
I apologize for the confusion you're experiencing with the AWS Marketplace change set submission. Let me clarify the issues and provide guidance on how to correctly set up the UpdatePricingTerms for a Free product.
-
FreeTrialPricingTerm Duration: The error message indicates that the Duration in FreeTrialPricingTerm is not within the allowed range. A duration of "P0D" (0 days) is indeed not valid for a free trial. You need to specify a valid duration greater than 0. For example, you could use "P30D" for a 30-day free trial.
-
MaxQuantity for FreeTrialPricingTerm: The error message states that the MaxQuantity for FreeTrialPricingTerm should be less than or equal to 1. Make sure you're not specifying a MaxQuantity greater than 1 in your change set.
-
Dimensions: The error suggests that you should use existing, available dimensions in the product for FreeTrialPricingTerm. Ensure that the dimension "CUSTOM1" is actually defined and available for your product.
Here's a corrected example of the UpdatePricingTerms change set for a Free product with a 30-day free trial:
{ "ChangeType": "UpdatePricingTerms", "Entity": { "Type": "Offer@1.0", "Identifier": "$CreateOfferChange.Entity.Identifier" }, "DetailsDocument": { "PricingModel": "Free", "Terms": [ { "Type": "FreeTrialPricingTerm", "Duration": "P30D", "Grants": [ { "DimensionKey": "CUSTOM1", "MaxQuantity": 1 } ] } ] } }
Key points to note:
- Set a valid Duration (e.g., "P30D" for 30 days).
- Include MaxQuantity and set it to 1 in the Grants section.
- Ensure the DimensionKey used ("CUSTOM1" in this example) is actually defined for your product.
If you continue to experience issues, I recommend contacting AWS Marketplace Managed Catalog Operations Team for further assistance, as they can provide specific guidance tailored to your product configuration.
Sources
DescribeChangeSet - AWS Marketplace
DescribeChangeSet - AWS Marketplace Catalog API
ChangeSetSummaryListItem - AWS Marketplace
ChangeSetSummaryListItem - AWS Marketplace Catalog API
Relevant content
- asked 9 days ago
- asked 9 days ago
- asked a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 months ago