Audience API
API for managing audiences and mapping price tables to these audiences for contextual seller pricing.
Index
Audience Manager
POSTFetch audience
Price Table Mapper
Common parameters in the documentation
| Parameter name | Description |
|---|---|
{{accountName}} |
Name of the VTEX account. Used as part of the URL. |
{{environment}} |
Name of the VTEX account. Used as part of the URL. |
{{X-VTEX-API-AppKey}} |
Unique identifier of the API key. |
{{X-VTEX-API-AppToken}} |
Secret token of the API key. |
Endpoints
Audience Manager
| Summary | Method | Path |
|---|---|---|
| Fetch audience | POST | /api/audience-manager/pvt/audience |
Price Table Mapper
| Summary | Method | Path |
|---|---|---|
| Get price table mapping | GET | /api/price-table-mapper/pvt/mapping/{audienceId} |
| Set price table mapping | PUT | /api/price-table-mapper/pvt/mapping/{audienceId} |
| Delete price table mapping | DELETE | /api/price-table-mapper/pvt/mapping/{audienceId} |