Download OpenAPI specification:
Enterprise API for publishers to access product catalogs, submit performance data, and track attribution metrics.
Authentication: Include your API key in the Authorization header as Bearer YOUR_API_KEY
Support: contact@foliumagency.com
Access product catalog with detailed product information, pricing, and commission rates. Perfect for building product recommendation systems and content creation tools.
Retrieve paginated product catalog with commission information.
country_code=UK, it will be automatically converted to GB (ISO 3166-1 alpha-2 standard) as the database stores United Kingdom data with the GB country code.| page | integer >= 1 Default: 1 Example: page=1 Page number for pagination (starts at 1) |
| brand_code | string Example: brand_code=TECHBRAND Filter results by brand code (e.g., "TECHBRAND") |
| country_code | string^[A-Z]{2}$ Example: country_code=US Filter results by country code. If not provided, returns catalog items from all countries. Supported Country Codes:
Note: The country code |
{- "status": "success",
- "pagination": {
- "current_page": 1,
- "items_per_page": 100,
- "items_in_this_page": 100,
- "has_more": true,
- "next_page": 2
}, - "catalog": [
- {
- "asin": "B08N5WRWNW",
- "title": "Premium Wireless Headphones",
- "brand": "TechBrand",
- "brand_code": "TECHBRAND",
- "price": 299.99,
- "category": "Electronics",
- "sub_category": "Headphones & Earbuds",
- "commission_percentage": 4.5,
- "country_code": "US",
- "currency_code": "USD",
- "last_updated": "2025-01-20T15:30:00Z"
}
]
}Retrieve list of all brands that Folium manages
{- "status": "success",
- "brands": [
- {
- "brand_code": "TECHBRAND",
- "brand_name": "TechBrand",
- "attribution_connected": true,
- "marketplaces": [
- "US",
- "CA",
- "GB",
- "DE"
]
}, - {
- "brand_code": "HOMEGOODS",
- "brand_name": "Home Goods Co",
- "attribution_connected": false,
- "marketplaces": [
- "US",
- "CA"
]
}, - {
- "brand_code": "WELLNESS",
- "brand_name": "Wellness Plus",
- "attribution_connected": true,
- "marketplaces": [
- "US",
- "GB",
- "FR",
- "IT",
- "ES"
]
}
]
}Submit performance data including sales, clicks, impressions, and revenue metrics. Enables real-time performance tracking and optimization.
Submit performance data including sales, shipments, and revenue metrics.
Important: Commissions are ALWAYS calculated by Folium from our commission database. You only need to send ASIN, date, quantity, and revenue. Price is optional and used only for analytics.
required | Array of objects (PerformanceRecord) [ 1 .. 1000 ] items Array of performance records (max 1000 per request) |
| country_code required | string^[A-Z]{2}$ Two-letter ISO country code (US, CA, GB, DE, etc.) |
{- "data": [
- {
- "asin": "B08N5WRWNW",
- "date_shipped": "2025-01-15",
- "items_shipped_qty": 1,
- "revenue": 299.99
}
], - "country_code": "US"
}{- "success": true,
- "summary": {
- "total_submitted": 100,
- "successfully_validated": 98,
- "recognized_products": 95,
- "unrecognized_products": 3,
- "failed_validation": 2
}, - "results": {
- "total_items": 150,
- "total_revenue": 28497.52,
- "unique_asins": 45,
- "country_code": "US",
- "publisher_id": "PUB123"
}, - "warnings": [
- {
- "type": "unrecognized_products",
- "message": "3 products were not recognized",
- "details": [
- "B00UNKNOWN1",
- "B00UNKNOWN2"
]
}
], - "metadata": {
- "processing_time_ms": 342.5
}
}Submit where Folium ASIN content appears (URLs), along with placement-level performance metrics. This data will help us correlate performance to placements. Essential for content strategy and optimization.
Submit data about where Folium ASINs are placed on your site(s) with optional performance metrics.
If a placement already exists (same publisher_id, asin, url, date, country_code):
required | Array of objects (PlacementRecord) [ 1 .. 500 ] items |
| country_code | string^[A-Z]{2}$ Default: "US" Country code (defaults to US if not provided) |
{- "placements": [
], - "country_code": "US"
}{- "success": true,
- "summary": {
- "total_submitted": 50,
- "successfully_processed": 48,
- "failed": 2,
- "created": 40,
- "updated": 8
}, - "results": {
- "publisher_id": "PUB123",
- "publisher_name": "Example Publisher",
- "country_code": "US"
}, - "metadata": {
- "processing_time_ms": 156.3
}
}Access curated deals, promotions, and special offers across all authorized brands. Stay ahead with exclusive promotional opportunities.
Retrieve current and upcoming deals for products in your authorized brands.
The API supports powerful filtering with operators. Use the pattern field__operator=value to apply filters.
| Operator | Description | Example | Use Case |
|---|---|---|---|
| (none) | Exact match | ?campaign_status=ACTIVE |
Find exact matches |
__lt |
Less than | ?deal_price__lt=50 |
Deals under $50 |
__lte |
Less than or equal | ?deal_price__lte=100 |
Deals $100 or less |
__gt |
Greater than | ?discount_percentage__gt=30 |
Discounts over 30% |
__gte |
Greater than or equal | ?discount_percentage__gte=25 |
Discounts 25% or more |
__in |
In list | ?deal_type__in=LIGHTNING_DEAL,BEST_DEAL |
Multiple values |
__contains |
Contains text | ?campaign_name__contains=Prime |
Text search (case-insensitive) |
Text Fields:
asin, deal_type, campaign_id, campaign_name, campaign_statusmarketplace, event_tags, asin_status, sku, currency_code, brand_code__in, __containsNumeric Fields:
seller_price, deal_price, discount_percentage, seller_quantity, deal_quantity, total_asins_in_campaign__lt, __lte, __gt, __gte, __inDate Fields:
start_date, end_date__lt, __lte, __gt, __gteYYYY-MM-DDBoolean Fields:
is_includedtrue, false, 1, 0, yes, noFind deals under $50:
GET /deals?deal_price__lt=50
Find deals with 30% or more discount:
GET /deals?discount_percentage__gte=30
Find cheap deals with good discounts:
GET /deals?deal_price__lte=100&discount_percentage__gt=20
Find lightning or best deals:
GET /deals?deal_type__in=LIGHTNING_DEAL,BEST_DEAL
Find deals starting in December 2025:
GET /deals?start_date__gte=2025-12-01&start_date__lte=2025-12-31
Find active Prime-related campaigns:
GET /deals?campaign_name__contains=Prime&campaign_status=ACTIVE
Complex filter - Active US deals under $80 with 20%+ discount:
GET /deals?country_code=US&campaign_status=ACTIVE&deal_price__lte=80&discount_percentage__gte=20
__contains are case-insensitivestart_date, end_date) are returned in ISO 8601 format (YYYY-MM-DDThh:mm:ss)created_by_user_idcreated_by_emailseller_idorganization_id| page | integer >= 1 Default: 1 Page number |
| limit | integer [ 1 .. 500 ] Default: 100 Items per page (max 500) |
| country_code | string Example: country_code=US Filter by country |
| brand_code | string Example: brand_code=TECHBRAND Filter by brand |
| deal_type | string Enum: "LIGHTNING_DEAL" "BEST_DEAL" "DOTD" "PRIME_EXCLUSIVE" Filter by deal type |
| campaign_status | string Enum: "SCHEDULED" "ACTIVE" "COMPLETED" "CANCELLED" Filter by campaign status |
| start_date_from | string <date> Example: start_date_from=2025-01-01 Deals starting from this date |
| start_date_to | string <date> Example: start_date_to=2025-01-31 Deals starting before this date |
| end_date_from | string <date> Deals ending from this date |
| end_date_to | string <date> Deals ending before this date |
| min_deal_price | number <float> Minimum deal price |
| max_deal_price | number <float> Maximum deal price |
| min_discount_percentage | number <float> Example: min_discount_percentage=20 Minimum discount percentage (e.g., 20 for 20%). Value should be in percentage format, not decimal (20 means 20%, not 0.20) |
| event_tags | string Example: event_tags=Prime Day Filter by event tags (partial match) |
{- "status": "success",
- "pagination": {
- "current_page": 1,
- "items_per_page": 100,
- "items_in_this_page": 45,
- "has_more": false,
- "next_page": null
}, - "filters_applied": {
- "country_code": "US",
- "campaign_status": "ACTIVE"
}, - "deals": [
- {
- "asin": "B08N5WRWNW",
- "deal_type": "LIGHTNING_DEAL",
- "start_date": "2025-01-20T00:00:00",
- "end_date": "2025-01-22T00:00:00",
- "country_code": "US",
- "campaign_name": "January Flash Sale",
- "campaign_status": "ACTIVE",
- "brand_code": "TECHBRAND",
- "seller_price": 299.99,
- "deal_price": 199.99,
- "discount_percentage": 33.33,
- "deal_quantity": 100
}
]
}Generate attribution tags and access detailed performance reports for campaign tracking. Complete attribution solution for multi-channel campaigns.
Generate an Amazon Attribution tag for tracking advertising campaigns.
Returns both the attribution link and a system-generated campaign name for your records.
| brand_code required | string Brand identifier code |
| adgroupID required | string Amazon advertising adgroup ID |
| creativeID required | string Amazon advertising creative ID |
{- "brand_code": "TECHBRAND",
- "adgroupID": "social_campaign_jan",
- "creativeID": "banner_headphones_v2"
}{- "attribution_link": "https://www.amazon.com/dp/B08N5WRWNW?tag=publisher-20&maas=maas_adg_1234567890",
- "campaign_name": "TECHBRAND_social_campaign_jan_banner_headphones_v2"
}Retrieve attribution performance data for the last 30 days.
{- "status": "success",
- "data": {
- "publisher_id": "PUB123",
- "publisher_name": "Example Publisher",
- "total_records": 42,
- "performance_metrics": [
- {
- "report_date": "2025-01-15",
- "creative_id": "banner_headphones_v2",
- "campaign_name": "January Social Campaign",
- "impressions": 15000,
- "clicks": 450,
- "click_through_rate": 3,
- "detail_page_views": 380,
- "add_to_cart": 95,
- "purchases": 28,
- "revenue": 8399.72,
- "units_sold": 28
}
]
}
}