Skip to main content
PUT
Update Promotion
This endpoint allows modification of existing promotions while maintaining data integrity and ensuring business rules are followed. Different fields have varying update restrictions based on promotion status.
Promotion updates are subject to status-based restrictions. Active promotions have limited modifiable fields to prevent disruption to ongoing customer experiences, while draft promotions can be freely modified.

Path Parameters

string
required
The unique identifier of the company that owns the promotion
string
required
The unique identifier of the campaign containing the promotion
string
required
The unique identifier of the promotion to update

Request Body

string
Updated display name for the promotion
string
Updated detailed description of the promotion offer
object
Updated discount calculation rules and parameters
object
Updated customer and order eligibility requirements
object
Updated promotion usage restrictions and limits
object
Updated promotion timing and availability schedule
object
Updated visual presentation and marketing settings
string
Action to perform on promotion status: “activate”, “pause”, “resume”, “deactivate”
boolean
Updated setting for automatic application without requiring a code
boolean
Updated setting for combination with other promotions
string
Reason for the update (for audit trail)

Request Example

Response

string
Unique identifier for the updated promotion
string
Parent campaign identifier
string
Updated display name of the promotion
string
Current promotion status after update
array
List of fields that were successfully updated
array
List of fields that could not be updated due to restrictions
object
Complete updated discount configuration
object
Updated customer eligibility requirements
object
Updated usage restrictions with current statistics
object
Updated promotion timing and availability
object
Updated visual presentation configuration
object
Estimated impact of changes on promotion performance
array
Non-blocking warnings about the updated configuration
string
Timestamp of this update
string
User who performed the update
array
Recent update history for audit purposes

Response Example

Draft Status
  • All fields can be freely modified
  • No restrictions on changes
  • Updates take effect immediately
Scheduled Status
  • Most fields can be updated
  • Start date can be modified if not within 24 hours
  • Promotion code cannot be changed
Active Status
  • Limited field updates allowed
  • Cannot decrease discount value or minimum purchase amounts
  • Cannot restrict eligibility criteria
  • Can extend end date and increase usage limits
  • Display settings can be updated
Paused Status
  • Same restrictions as active status
  • Can modify status to resume or deactivate
  • Schedule modifications allowed
Expired/Completed Status
  • No modifications allowed except for display settings
  • Updates primarily for archival and reporting purposes
  • Cannot reactivate expired promotions
Update Safety: The system prevents updates that could negatively impact customers who have already used the promotion or are in the process of using it.
Performance Optimization: When updating active promotions, monitor performance metrics closely to ensure changes have the desired effect on customer engagement and business objectives.

Field Update Rules

Discount Rules
  • Cannot decrease discount percentage for active promotions
  • Cannot decrease maximum discount amount if customers have used higher amounts
  • Cannot increase minimum purchase amount for active promotions
  • Adding categories is allowed, removing requires validation
Usage Limits
  • Can increase limits at any time
  • Cannot decrease below current usage levels
  • Per-customer limits cannot exceed total limits
  • Daily limits adjust automatically if needed
Schedule Changes
  • Cannot move start date to the past
  • Can extend end date for any status except expired
  • Time restrictions can be expanded but not reduced for active promotions
  • Timezone changes require special validation
Eligibility Criteria
  • Cannot make criteria more restrictive for active promotions
  • Can expand customer segments and geographic regions
  • Loyalty tier requirements can be relaxed but not tightened
  • New restrictions apply only to future usage

Status Actions

Activate
  • Move from draft or scheduled to active
  • Requires valid configuration and future or current start date
  • Begins tracking performance metrics
Pause
  • Temporarily disable active promotion
  • Preserves configuration and usage statistics
  • Can be resumed later
Resume
  • Reactivate a paused promotion
  • Continues from where it left off
  • No configuration reset required
Deactivate
  • Permanently disable promotion before natural expiration
  • Cannot be reactivated
  • Preserves all historical data

Error Responses

Invalid Update for Status
Validation Failure
Usage Limit Conflict
Promotion Not Found
Customer Impact: Updates to active promotions may affect customer experience. Consider the timing of updates and communicate significant changes to customers when appropriate.

Best Practices

Planning Updates
  • Review current usage patterns before making changes
  • Consider customer impact of modifications
  • Test changes in staging environment when possible
  • Document reasons for updates for audit trail
Active Promotion Updates
  • Prefer extending rather than restricting benefits
  • Update display settings for immediate customer visibility
  • Monitor performance impact after changes
  • Communicate significant changes to customer service team
Performance Monitoring
  • Track metrics before and after updates
  • Set up alerts for unexpected usage pattern changes
  • Review customer feedback for update impact
  • Adjust based on real-world performance data
Compliance and Audit
  • Maintain detailed update logs
  • Include business justification for changes
  • Follow approval processes for significant modifications
  • Ensure regulatory compliance for promotional changes

Integration Considerations

Frontend Applications
  • Updated display settings reflect immediately
  • Cache invalidation may be required
  • Mobile app synchronization timing
  • Real-time notification systems
Analytics Systems
  • Performance metric recalculation
  • Historical data integrity maintenance
  • Reporting dashboard updates
  • Trend analysis adjustments
Customer Communications
  • Email marketing system updates
  • Push notification content changes
  • Website banner modifications
  • Social media content coordination
Business Operations
  • Inventory planning adjustments
  • Staff training on promotion changes
  • Customer service preparation
  • Financial impact assessment