get_promotion_tier
Retrieve complete promotion tier details including discount rules, validation criteria, and metadata to analyze and manage your promotions.
Instructions
Retrieve detailed information about a specific promotion tier by its ID.
Returns complete promotion tier configuration including discount rules, validation criteria, and metadata for promotion analysis and management.
Enhanced Features:
Automatically fetches and processes validation rules for detailed rule analysis
Provides both raw validation_rules_assignments and processed assigned_validation_rules
Includes complete promotion tier hierarchy and action settings
Parameters:
promotion_tier_id: Promotion tier identifier for lookup
Identifier Requirements:
Promotion Tier ID: Must start with 'promo_' prefix (e.g., "promo_abc123def456")
ID must correspond to existing promotion tier
Validation Rules:
Promotion tier ID must be valid and existing
ID format is case-sensitive
Examples:
get_promotion_tier(promotion_tier_id="promo_abc123def456")
Returns: JSON object containing complete promotion tier details including:
Core Promotion Tier Information:
id: Promotion tier system identifier (e.g., "promo_abc123def456")
name: Human-readable tier name
banner: Display banner text for promotion
object: Always "promotion_tier"
Discount Configuration:
action: Complete discount configuration including:
discount: Discount type and value settings
unit_off: Fixed amount discount (if applicable)
unit_off_formula: Dynamic discount calculation (if applicable)
percent_off: Percentage discount (if applicable)
percent_off_formula: Dynamic percentage calculation (if applicable)
Promotion Settings:
hierarchy: Tier ordering and priority within campaign
campaign: Parent campaign information
campaign_id: Parent campaign identifier
summary: Promotion tier summary and statistics
Validation Rules (Enhanced):
assigned_validation_rules: Processed validation rules with detailed conditions (added by this tool) See "Validation Rules Structure" section in server instructions for complete field documentation
Additional Data:
metadata: Custom promotion tier attributes
created_at, updated_at: ISO 8601 timestamps
Use Cases:
Analyze promotion tier configuration and discount mechanics
Understand validation rules and eligibility requirements
Review promotion tier hierarchy and priority
Get complete promotion tier blueprint for management
Check promotion tier status and performance
Raises:
ToolError: If promotion tier not found or invalid ID format
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| promotion_tier_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |