Skip to main content
GET
Get All Promotions
This endpoint provides access to all promotions within a specific campaign, offering powerful filtering and sorting options to help businesses manage their promotional strategies effectively.
This endpoint supports extensive filtering and pagination capabilities, making it ideal for promotion management dashboards, analytics reporting, and bulk operations across multiple promotions.

Path Parameters

string
required
The unique identifier of the company that owns the promotions
string
required
The unique identifier of the campaign containing the promotions

Query Parameters

string
Filter by promotion status: “all”, “draft”, “scheduled”, “active”, “paused”, “expired”, “completed”
string
Filter by promotion type: “percentage_discount”, “fixed_amount_discount”, “buy_x_get_y”, “free_shipping”, “bundle_deal”, “loyalty_bonus”
string
Filter promotions created after this date (ISO 8601 format)
string
Filter promotions created before this date (ISO 8601 format)
string
Filter promotions starting after this date
string
Filter promotions ending before this date
string
Filter by performance level: “high_performing”, “moderate”, “low_performing”, “no_usage”
string
Filter by discount range: “0-10”, “10-25”, “25-50”, “50+”
string
Filter promotions available to specific customer segment
Search in promotion names, descriptions, and codes
string
default:"created_at"
Sort field: “created_at”, “name”, “status”, “performance”, “usage_count”, “start_date”, “end_date”
string
default:"desc"
Sort direction: “asc” or “desc”
integer
default:"1"
Page number for pagination
integer
default:"25"
Number of promotions per page (max 100)
boolean
default:"true"
Include performance metrics in the response
boolean
default:"false"
Include archived/deleted promotions in results
boolean
default:"true"
Include summary statistics for the filtered set

Response

string
The campaign identifier
string
Name of the parent campaign
integer
Total number of promotions matching filters
object
Pagination information for the results
object
Summary of filters applied to the query
array
Array of promotion objects matching the search criteria
object
Aggregate statistics for the filtered promotion set

Response Example

Status-Based Filtering
  • Filter by current promotion lifecycle stage
  • Identify promotions requiring attention
  • Separate active campaigns from drafts and archives
  • Track promotion performance by status
Performance-Based Filtering
  • High-performing: Above average conversion and ROI
  • Moderate: Meeting baseline performance metrics
  • Low-performing: Below threshold performance
  • No usage: Promotions with zero customer engagement
Date Range Filtering
  • Creation date ranges for administrative tracking
  • Active date ranges for operational planning
  • Expiration tracking for renewal planning
  • Seasonal promotion identification
Customer Segment Filtering
  • Target-specific customer group promotions
  • Loyalty tier-based promotion management
  • Geographic region-specific campaigns
  • Demographic-targeted promotion analysis
Performance Ratings: Promotions are automatically rated based on conversion rates, ROI, and usage patterns compared to campaign averages and historical benchmarks.
Bulk Operations: Use filtering to identify groups of promotions for bulk operations like status changes, performance analysis, or strategic planning.

Search Capabilities

Text Search
  • Search across promotion names for quick identification
  • Full-text search in promotion descriptions
  • Promotional code pattern matching
  • Creator and modifier user search
Advanced Query Syntax
  • Combine multiple filters for precise results
  • Use wildcards in text searches
  • Date range combinations
  • Performance threshold combinations
Saved Searches
  • Create frequently-used filter combinations
  • Share search configurations across team members
  • Set up alerts for specific promotion criteria
  • Automate reporting based on saved filters
Smart Suggestions
  • System suggests relevant filters based on search patterns
  • Recommendation of similar promotions
  • Identification of optimization opportunities
  • Performance benchmark comparisons

Sorting and Organization

Performance-Based Sorting
  • Sort by conversion rate for effectiveness analysis
  • Order by ROI for financial impact review
  • Arrange by usage count for popularity assessment
  • Organize by revenue impact for business value
Temporal Sorting
  • Chronological creation order for administrative tracking
  • Start date sorting for campaign planning
  • End date sorting for renewal management
  • Last modified sorting for recent changes
Alphabetical Organization
  • Name-based sorting for easy browsing
  • Code-based organization for systematic review
  • Creator-based grouping for team management
  • Status-based clustering for workflow optimization
Custom Sort Combinations
  • Multi-field sorting for complex organization
  • Priority-based arrangement for urgent actions
  • Performance-time combinations for trend analysis
  • Status-performance matrices for strategic review

Error Responses

Invalid Filter Parameters
Date Range Errors
Pagination Errors
Campaign Not Found
Large Result Sets: When querying campaigns with many promotions, use pagination and filtering to maintain good performance. The system may timeout on very large unfiltered requests.

Use Cases and Applications

Campaign Management
  • Monitor all promotions within a campaign
  • Identify underperforming promotions for optimization
  • Track campaign-wide promotional success
  • Plan promotion renewal and extension strategies
Performance Analysis
  • Compare promotion effectiveness across types
  • Identify best-performing promotional strategies
  • Analyze customer response patterns
  • Benchmark promotion performance against goals
Operational Management
  • Track promotion usage and capacity planning
  • Identify promotions requiring urgent attention
  • Manage promotion lifecycle and renewals
  • Coordinate marketing team efforts
Strategic Planning
  • Analyze historical promotion performance
  • Identify successful promotion patterns
  • Plan future promotional strategies
  • Optimize promotion portfolio composition
Financial Reporting
  • Calculate total promotional impact on revenue
  • Assess discount costs across all promotions
  • Analyze ROI for promotional investments
  • Support budget planning and allocation

Integration with Analytics

Dashboard Integration
  • Real-time promotion performance dashboards
  • Campaign-level promotional analytics
  • Customer engagement tracking
  • Financial impact visualization
Export Capabilities
  • CSV export for offline analysis
  • Integration with business intelligence tools
  • Custom report generation
  • Automated reporting schedules
API Integration
  • Webhook notifications for promotion events
  • Real-time data feeds for external systems
  • Integration with marketing automation platforms
  • Custom analytics solution connectivity
Data Warehouse Integration
  • Historical data archiving
  • Long-term trend analysis
  • Cross-campaign comparison analytics
  • Predictive modeling support