Amazon Marketplace

The Amazon Marketplace connector is a Palantir-provided driver for Amazon Marketplace.

To create a new Amazon Marketplace source, follow the standard setup flow for Palantir-provided drivers, then use the sections below for Amazon Marketplace-specific configuration and networking. For the complete property reference, see the official Amazon Marketplace driver documentation ↗.

Configuration

The properties below are mandatory or recommended.

PropertyRequired?DescriptionDefault
IncludeReportsRecommendedSet this connection property to true to expose already created reports as views, this property is available for both schemas (SellerCentral and VendorCentral).FALSE
InitiateOAuthRecommendedSpecifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working.REFRESH
MarketplaceRecommendedThe Marketplace region that you are registered to sell in.United States
OAuthClientIdRecommendedSpecifies the client Id that was assigned when the custom OAuth application was created. (Also known as the consumer key.) This ID registers the custom application with the OAuth authorization server.
OAuthClientSecretRecommendedSpecifies the client secret that was assigned when the custom OAuth application was created. (Also known as the consumer secret). This secret registers the custom application with the OAuth authorization server.
SchemaRecommendedThe type of schema to use.Marketplace
SellerIdRecommendedThe Seller ID or merchant identifier you received when creating the account.

Networking

The table below lists the domains that the source needs to be able to access in order to successfully run.

For each domain, add a corresponding egress policy. If the source is hosted on-premises and not directly reachable from Foundry, use an agent proxy egress policy instead; the agent host itself must also be able to reach the listed domains. See using an agent as a proxy for details.

DomainRequired
sts.<AWSRegion>.amazon.comIf Schema=SellingPartner, AWSRegion Mappings
sellingpartnerapi-<AWSRegion>.amazon.comIf Schema=SellingPartner, SellingPartner Mappings
sandbox.sellingpartnerapi-<AWSRegion>.amazon.comIf Schema=SellingPartner and UseSandbox=True, SellingPartner Sandbox Mappings
mws.amazonservices.<Marketplace>If Schema=Marketplace, AWSMarketplace Mappings
api.amazon.comIf using OAuth
Seller Central URLsIf using OAuth
oa.cdata.comIf using the embedded CData OAuth credentials

Extracting files

Files can be extracted from Amazon Marketplace by executing the GetReport ↗ stored procedure.

To extract a file, add the following SQL query in the sync definition.

Copied!
1 EXECUTE GetReport @ReportDocumentId = '1234'

This will produce an output dataset with the file content stored in a Base64 encoded string column, which should be decoded to binary in a downstream data transformation.