

# API Access
<a name="raid-api-access"></a>

In addition to managing Revenue Attribution IDs through , you can manage them programmatically through the Partner Revenue Measurement APIs and the Marketplace Revenue Share APIs.

## Partner Revenue Measurement APIs
<a name="raid-prm-apis"></a>

Use the [Partner Revenue Measurement APIs](https://docs.aws.amazon.com/partner-central/latest/APIReference/working-with-revenue-attribution-ids.html) to create, retrieve, list, and update Revenue Attribution IDs and their monthly cost allocation percentages for associated AWS Marketplace offers and/or ACE opportunities. The API surface includes the following operations:

**Revenue Attribution**


| Operation | Description | 
| --- | --- | 
| CreateRevenueAttribution | Creates a new Revenue Attribution ID. | 
| GetRevenueAttribution | Retrieves the details of a Revenue Attribution ID by identifier. | 
| ListRevenueAttributions | Returns a paginated list of Revenue Attribution IDs. | 
| UpdateRevenueAttribution | Updates the description of an existing Revenue Attribution ID. | 

**Revenue Attribution Allocations**


| Operation | Description | 
| --- | --- | 
| StartRevenueAttributionAllocationsTask | Submits a batch of up to 250 monthly cost allocation changes for asynchronous processing. | 
| GetRevenueAttributionAllocationsTask | Retrieves the status of an allocations task and per-record results. | 
| ListRevenueAttributionAllocations | Returns a paginated list of monthly cost allocation entries for a given Revenue Attribution ID. | 
| GetRevenueAttributionAllocation | Retrieves a single monthly cost allocation entry. | 

## Marketplace Revenue Share APIs
<a name="raid-mrs-apis"></a>

Use the [Marketplace Revenue Share APIs](https://docs.aws.amazon.com/partner-central/latest/APIReference/partner-central/latest/APIReference/working-with-marketplace-revenue-shares.html) to specify what portion of their product sales are generated by AWS Marketplace for a specific duration (month, quarter, or year).

**Marketplace Revenue Percentage**


| Operation | Description | 
| --- | --- | 
| CreateMarketplaceRevenueShare | Creates a Marketplace Revenue percentage resource for a specific AWS Marketplace product. | 
| GetMarketplaceRevenueShare | Retrieves a Marketplace Revenue percentage resource by Marketplace ProductId. | 
| ListMarketplaceRevenueShares | Returns a paginated list of Marketplace Revenue percentage resources. | 

**Marketplace Revenue Percentage Allocations**


| Operation | Description | 
| --- | --- | 
| CreateMarketplaceRevenueShareAllocation | Creates an allocation declaring the Marketplace percentage and effective date window. | 
| GetMarketplaceRevenueShareAllocation | Retrieves a single Marketplace Revenue percentage allocation. | 
| UpdateMarketplaceRevenueShareAllocation | Updates a future-dated allocation or shortens the expiration of a current one. | 
| ListMarketplaceRevenueShareAllocations | Returns a paginated list of allocations for a given Marketplace Revenue percentage. | 

Standard AWS tagging operations (TagResource, UntagResource, ListTagsForResource) are supported on the Marketplace Revenue percentage resource. Allocations do not support tags.