ListAllOffers
POST {{ _.CAPI_PROD }}/ListEntities
ListEntities API call enables you to get a list of entities of a given type with filters. In this case, it will list offers in your account.
Request Body
{"Catalog"=>"AWSMarketplace", "EntityType"=>"Offer"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"EntitySummaryList":[{"AmiProductSummary":null,"ContainerProductSummary":null,"DataProductSummary":null,"EntityArn":"arn:aws:aws-marketplace:us-east-1:111111111111:AWSMarketplace/Offer/offer-1234567890","EntityId":"offer-1234567890","EntityType":"Offer","LastModifiedDate":"2024-10-01T20:49:21Z","Name":"CAPI Integ Test Product (SAAS) Test Offer","OfferSummary":{"AvailabilityEndDate":"2025-07-01T23:59:59Z","BuyerAccounts":["222222222222"],"Name":"CAPI Integ Test Product (SAAS) Test Offer","ProductId":"product-111111111111","ReleaseDate":"2024-10-01T20:49:17Z","ResaleAuthorizationId":"resaleauthz-111111111111","State":"Released","Targeting":["BuyerAccounts"]},"ResaleAuthorizationSummary":null,"SaaSProductSummary":null,"TypeAttributes":null,"Visibility":"Private"},{"AmiProductSummary":null,"ContainerProductSummary":null,"DataProductSummary":null,"EntityArn":"arn:aws:aws-marketplace:us-east-1:111111111111:AWSMarketplace/Offer/offer-0987654321","EntityId":"offer-0987654321","EntityType":"Offer","LastModifiedDate":"2024-10-01T20:49:00Z","Name":"CAPI Integ Test Product (AMI Discount) Test Offer","OfferSummary":{"AvailabilityEndDate":"2025-07-01T23:59:59Z","BuyerAccounts":["222222222222"],"Name":"CAPI Integ Test Product (AMI Discount) Test Offer","ProductId":"product-222222222222","ReleaseDate":"2024-10-01T20:48:55Z","ResaleAuthorizationId":"resaleauthz-222222222222","State":"Released","Targeting":["BuyerAccounts"]},"ResaleAuthorizationSummary":null,"SaaSProductSummary":null,"TypeAttributes":null,"Visibility":"Private"}],"NextToken":"Test_Token_rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAJzcgAOamF2YS5sYW5nLkx"}