The AWS Marketplace API Reference was restructured. For more information about the supported API operations, see the AWS Marketplace API Reference.
Working with professional services products using AWS Marketplace APIs
You can use the AWS Marketplace Catalog API to create and manage professional services products.
Professional services products use the ProfessionalServicesProduct@1.0 entity
type. The request syntax that all product types share is described in Work with seller products. The
following topics describe what applies only to professional services products.
Topics
Supported change types
You can use the following change types with the
ProfessionalServicesProduct@1.0 entity type:
-
CreateProduct– Create a product -
UpdateInformation– Update product details -
AddDimensions– Add pricing dimensions -
UpdateDimensions– Update pricing dimensions -
UpdateTargeting– Update targeting configuration -
ReleaseProduct– Publish a product -
UpdateVisibility– Update product visibility
To list your professional services products, call ListEntities with the
EntityType
ProfessionalServicesProduct. To get the details of one product,
call DescribeEntity with its product ID. The EntityTypeFilters
and EntityTypeSort parameters of ListEntities have no options
for professional services products.
Creating and publishing a professional services product
To create a professional services product, call StartChangeSet with the
CreateProduct change type. You can add the product details and pricing
dimensions in the same change set. You can publish the product in that change set or in a
later one. The following StartChangeSet request creates a product, adds its
details and one pricing dimension, and publishes it into Limited state.
The following example creates a professional services product:
POST /StartChangeSet HTTP/1.1 Content-type: application/json { "Catalog": "AWSMarketplace", "ChangeSet": [ { "ChangeType": "CreateProduct", "ChangeName": "CreateProductChange", "Entity": { "Type": "ProfessionalServicesProduct@1.0" }, "DetailsDocument": {} }, { "ChangeType": "UpdateInformation", "Entity": { "Type": "ProfessionalServicesProduct@1.0", "Identifier": "$CreateProductChange.Entity.Identifier" }, "DetailsDocument": { "ProductTitle": "Cloud migration assessment", "ShortDescription": "A two-week assessment of your workloads for migration to AWS.", "LongDescription": "Our team reviews your applications and infrastructure and delivers a migration plan.", "LogoUrl": "https://amzn-s3-demo-bucket.s3.amazonaws.com/logo.png", "SupportDescription": "Contact us by email during business hours.", "Highlights": ["Fixed-scope assessment"], "SearchKeywords": ["migration", "assessment"], "Categories": ["Professional Services"] } }, { "ChangeType": "AddDimensions", "Entity": { "Type": "ProfessionalServicesProduct@1.0", "Identifier": "$CreateProductChange.Entity.Identifier" }, "DetailsDocument": [ { "Key": "MigrationAssessment", "Name": "Migration assessment", "Description": "Fixed-scope migration assessment", "Types": ["Entitled"], "Unit": "Units" } ] }, { "ChangeType": "ReleaseProduct", "Entity": { "Type": "ProfessionalServicesProduct@1.0", "Identifier": "$CreateProductChange.Entity.Identifier" }, "DetailsDocument": {} } ] }
The following rules apply to professional services products:
-
Permissions – If your AWS Identity and Access Management (IAM) policy limits change types with the
catalog:ChangeTypecondition key, it must allowUpdateInformation,AddDimensions, andReleaseProductas well asCreateProduct. Without them, aCreateProductrequest for a professional services product is denied, even when the change set contains onlyCreateProduct. For more information, see Access control for the AWS Marketplace Catalog API. -
Product details –
UpdateInformationaccepts the same fields as for other product types, includingVideoUrls. It also acceptsAssociatedProducts, which only professional services products can set. For more information about these fields, see Update product details. -
Pricing dimensions – Professional services products use contract pricing. Set
Typesto["Entitled"]for every dimension. For the allowed units and other fields, see Add pricing dimensions. -
Publishing –
ReleaseProductrequires at least one pricing dimension. You don't need a public offer to publish a professional services product. After the product is inLimitedstate, useUpdateTargetingto choose the AWS accounts that can view it.
Creating offers for professional services products
You create offers for professional services products with the same change types as for other products. For more information, see Work with private offers using the AWS Marketplace APIs. The following rules apply to offers for professional services products:
-
Every offer must be private. Use the
UpdateTargetingchange type on the offer to setPositiveTargetingwith the buyer'sBuyerAccounts. -
The pricing terms in
UpdatePricingTermsmust match one of these combinations:-
Upfront payment – A
ConfigurableUpfrontPricingTerm. -
Payment schedule (called installment plan in the AWS Marketplace Management Portal) – A
FixedUpfrontPricingTermwith aPaymentScheduleTerm. TheFixedUpfrontPricingTermcan include only one dimension. -
Variable payments – A
VariablePaymentTermwith no other pricing term. For more information, see Adding variable payments to an offer.
-
-
You can also include a
LegalTerm,ValidityTerm,NetPaymentTerm, andRenewalTerm. Offers with aPaymentScheduleTermor aVariablePaymentTermrequire aValidityTerm. -
Legal documents in the
LegalTermmust use theCustomEulatype.
Adding variable payments to an offer
With a VariablePaymentTerm, you set the maximum amount that the buyer
agrees to pay over the agreement. After the buyer accepts the offer, you send payment
requests up to that amount with the SendAgreementPaymentRequest operation. For the
console steps, see Pricing
professional service products in the AWS Marketplace
Seller Guide.
To add variable payments to a draft offer, call StartChangeSet with
the UpdatePricingTerms change type and set PricingModel
to Contract.
The following example adds a variable payment term to an offer:
POST /StartChangeSet HTTP/1.1 Content-type: application/json { "Catalog": "AWSMarketplace", "ChangeSet": [ { "ChangeType": "UpdatePricingTerms", "Entity": { "Type": "Offer@1.0", "Identifier": "offer-123456789" }, "DetailsDocument": { "PricingModel": "Contract", "Terms": [ { "Type": "VariablePaymentTerm", "CurrencyCode": "USD", "MaxTotalChargeAmount": "50000.00" } ] } } ] }
Provide information for the following fields:
-
PricingModel(string) (required) – Must beContractwhen the offer includes aVariablePaymentTerm. -
Type(string) (required) – Object value:VariablePaymentTerm. -
CurrencyCode(string) (required) – The currency ofMaxTotalChargeAmount. You can use any currency that AWS Marketplace supports. For the list, see Supported currencies in the AWS Marketplace Buyer Guide. -
MaxTotalChargeAmount(string) (required) – The maximum total amount that you can request from the buyer over the agreement. Use a non-negative decimal with up to three decimal places.
The example sets only the pricing term. An offer with a
VariablePaymentTerm also needs a ValidityTerm that sets
the agreement duration. Add it with the UpdateValidityTerms change
type, as described in Define the expiration date of agreements created using the offer.