MultiuseResaleauthExpirydateCustomresellerContractdoc

POST {{_.CAPI_PROD}}/StartChangeSet

This changeset shows you how to publish multi-use resale authorization with an expiration date for any product type and add reseller contract documentation between the ISV and Channel Partner.

Request Body

{"Catalog"=>"AWSMarketplace", "ChangeSet"=>[{"ChangeType"=>"CreateResaleAuthorization", "ChangeName"=>"ResaleAuthorization", "Entity"=>{"Type"=>"ResaleAuthorization@1.0"}, "DetailsDocument"=>{"ProductId"=>"{{PRODUCT_ID}}", "Name"=>"TestResaleAuthorization", "Description"=>"Worldwide ResaleAuthorization for Test Product", "ResellerAccountId"=>"{{RESELLER_ID}}"}}, {"ChangeType"=>"ReleaseResaleAuthorization", "Entity"=>{"Type"=>"ResaleAuthorization@1.0", "Identifier"=>"$ResaleAuthorization.Entity.Identifier"}, "DetailsDocument"=>{}}, {"ChangeType"=>"UpdateAvailability", "Entity"=>{"Type"=>"ResaleAuthorization@1.0", "Identifier"=>"$ResaleAuthorization.Entity.Identifier"}, "DetailsDocument"=>{"AvailabilityEndDate"=>"2023-05-31"}}, {"ChangeType"=>"UpdateLegalTerms", "Entity"=>{"Type"=>"ResaleAuthorization@1.0", "Identifier"=>"$ResaleAuthorization.Entity.Identifier"}, "DetailsDocument"=>{"Terms"=>[{"Type"=>"BuyerLegalTerm", "Documents"=>[{"Type"=>"CustomEula", "Url"=>"https://s3.amazonaws.com/sample-bucket/custom-eula.pdf"}]}, {"Type"=>"ResaleLegalTerm", "Documents"=>[{"Type"=>"CustomResellerContract", "Url"=>"https://s3.amazonaws.com/aws-mp-standard-contracts/Standard-Contact-for-AWS-Marketplace-2022-07-14.pdf"}]}]}}, {"ChangeType"=>"UpdatePricingTerms", "Entity"=>{"Type"=>"ResaleAuthorization@1.0", "Identifier"=>"$ResaleAuthorization.Entity.Identifier"}, "DetailsDocument"=>{"PricingModel"=>"Contract", "Terms"=>[{"Type"=>"ResaleConfigurableUpfrontPricingTerm", "CurrencyCode"=>"USD", "RateCards"=>[{"Selector"=>{"Type"=>"Duration", "Value"=>"P12M"}, "RateCard"=>[{"DimensionKey"=>"t2.small", "Price"=>"150"}], "Constraints"=>{"MultipleDimensionSelection"=>"Allowed", "QuantityConfiguration"=>"Allowed"}}]}]}}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"ChangeSetArn":"arn:aws:aws-marketplace:us-east-1:111111111111:AWSMarketplace/ChangeSet/test_ChangeSetId","ChangeSetId":"test_ChangeSetId"}