fo_list_promotions
List active promotions and coupons from FlexOffers. Filter by advertiser, category, promo type, or date range. Coupons only option available.
Instructions
Fetch active promotions and coupons from FlexOffers. Filter by advertiser, category, promo type, or date range. Use couponsOnly=true for coupon codes only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| names | No | Search by promotion name | |
| endDate | No | Filter promotions expiring before this date (YYYY-MM-DD) | |
| pageSize | No | Max 1000 | |
| startDate | No | Filter promotions active after this date (YYYY-MM-DD) | |
| categoryIds | No | Comma-separated category IDs | |
| couponsOnly | No | Only return promotions with coupon codes | |
| minDollarOff | No | Minimum $ discount | |
| advertiserIds | No | Comma-separated advertiser IDs | |
| minPercentageOff | No | Minimum % discount | |
| promotionalTypeIds | No | Comma-separated promo type IDs (get IDs from fo_get_promotion_types) |