

There are more AWS SDK examples available in the [AWS Doc SDK Examples](https://github.com/awsdocs/aws-doc-sdk-examples) GitHub repo.

# Offers for AWS Marketplace Catalog API
<a name="marketplace-catalog_code_examples_offers"></a>

The following code examples show how to use AWS Marketplace Catalog API with AWS SDKs.

**Topics**
+ [Create a custom dimension for a SaaS product and create a private offer](marketplace-catalog_example_marketplace-catalog_CreateSaasProductCustomDimensionAndPrivateOffer_section.md)
+ [Create a draft private offer for an AMI or SaaS product](marketplace-catalog_example_marketplace-catalog_CreateDraftPrivateOffer_section.md)
+ [Create a private offer with contract and Pay-As-You-Go pricing for a SaaS product](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithContractWithPayAsYouGoPricingForSaasProduct_section.md)
+ [Create a private offer with contract pricing and a flexible payment schedule for a SaaS product](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithContractPricingWithFlexiblePaymentScheduleForSaasProduct_section.md)
+ [Create a private offer with contract pricing for a Container product](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithContractPricingForContainerProduct_section.md)
+ [Create a private offer with contract pricing for an AMI product](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithContractPricingForAmiProduct_section.md)
+ [Create a private offer with hourly annual pricing and a flexible payment schedule for an AMI product](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithHourlyAnnualPricingAndFlexiblePaymentScheduleForAmiProduct_section.md)
+ [Create a private offer with hourly annual pricing for an AMI product](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithHourlyAnnualPricingForAmiProduct_section.md)
+ [Create a private offer with hourly pricing for an AMI product](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithHourlyPricingForAmiProduct_section.md)
+ [Create a private offer with subscription pricing for a SaaS product](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithSubscriptionPricingForSaasProduct_section.md)
+ [Create a private offer with tiered contract pricing for a SaaS product](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithTieredContractPricingForSaasProduct_section.md)
+ [Create a public free trial offer with subscription pricing for a SaaS product](marketplace-catalog_example_marketplace-catalog_CreatePublicFreeTrialOfferWithSubscriptionPricingForSaasProduct_section.md)
+ [Create a replacement private offer with contract pricing](marketplace-catalog_example_marketplace-catalog_CreateReplacementPrivateOfferWithContractPricing_section.md)
+ [Describe a public offer](marketplace-catalog_example_marketplace-catalog_DescribeOffer_section.md)
+ [Expire a draft private offer](marketplace-catalog_example_marketplace-catalog_ExpirePrivateOffer_section.md)
+ [List all private offers](marketplace-catalog_example_marketplace-catalog_ListAllPrivateOffers_section.md)
+ [List released public and private offers for a specific product ID](marketplace-catalog_example_marketplace-catalog_ListProductPublicOrPrivateReleasedOffers_section.md)
+ [Update an offer to apply a contract with Pay-As-You-Go pricing](marketplace-catalog_example_marketplace-catalog_UpdateOfferWithContractAndPayAsYouGoPricing_section.md)
+ [Update an offer to apply hourly annual pricing](marketplace-catalog_example_marketplace-catalog_UpdateOfferWithHourlyAnnualPricing_section.md)
+ [Update an offer to apply targeting to specific geographic regions](marketplace-catalog_example_marketplace-catalog_UpdateOfferTargeting_section.md)
+ [Update name and description of a public offer](marketplace-catalog_example_marketplace-catalog_UpdateOfferNameAndDescription_section.md)
+ [Update the EULA of an offer](marketplace-catalog_example_marketplace-catalog_UpdateEula_section.md)
+ [Update the expiration date of a private offer to a future date](marketplace-catalog_example_marketplace-catalog_UpdateOfferExpirationDateOfPrivateOffer_section.md)
+ [Update the free trial duration of a public free trial offer for a SaaS product](marketplace-catalog_example_marketplace-catalog_UpdateFreeTrialDurationOfPublicFreeTrialOfferForSaasProduct_section.md)
+ [Update the refund policy of an offer](marketplace-catalog_example_marketplace-catalog_UpdateRefundPolicy_section.md)