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 ↗.
The properties below are mandatory or recommended.
| Property | Required? | Description | Default |
|---|---|---|---|
IncludeReports ↗ | Recommended | Set this connection property to true to expose already created reports as views, this property is available for both schemas (SellerCentral and VendorCentral). | FALSE |
InitiateOAuth ↗ | Recommended | Specifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working. | REFRESH |
Marketplace ↗ | Recommended | The Marketplace region that you are registered to sell in. | United States |
OAuthClientId ↗ | Recommended | Specifies 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. | — |
OAuthClientSecret ↗ | Recommended | Specifies 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. | — |
Schema ↗ | Recommended | The type of schema to use. | Marketplace |
SellerId ↗ | Recommended | The Seller ID or merchant identifier you received when creating the account. | — |
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.
| Domain | Required |
|---|---|
| sts.<AWSRegion>.amazon.com | If Schema=SellingPartner, AWSRegion Mappings |
| sellingpartnerapi-<AWSRegion>.amazon.com | If Schema=SellingPartner, SellingPartner Mappings |
| sandbox.sellingpartnerapi-<AWSRegion>.amazon.com | If Schema=SellingPartner and UseSandbox=True, SellingPartner Sandbox Mappings |
| mws.amazonservices.<Marketplace> | If Schema=Marketplace, AWSMarketplace Mappings |
| api.amazon.com | If using OAuth |
| Seller Central URLs | If using OAuth |
| oa.cdata.com | If using the embedded CData OAuth credentials |
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!1EXECUTE 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.