This endpoint allows you to modify existing campaign settings including basic information, scheduling, targeting criteria, and promotional parameters. Updates are applied immediately and affect all associated stores and promotions.
Campaign updates are immediately effective and will impact any active promotions or store associations. Consider the timing of updates for campaigns that are currently running.
When a campaign is updated, the following components are affected:Immediate Changes:
Campaign visibility in customer applications
Promotion availability and application
Store association effectiveness
Marketing material display
Scheduling Changes:
Start/end time modifications affect promotion windows
Status changes immediately activate or deactivate campaigns
Future scheduling adjustments plan automatic activation
Store Impact:
All associated stores receive updated campaign information
POS systems sync new campaign parameters
Customer-facing displays update automatically
Timing Considerations: Updates to active campaigns take effect immediately. For scheduled changes, consider creating new campaigns or using the scheduling features instead of updating active campaigns.
Version Control: The system maintains an audit trail of all campaign changes. You can track who made changes and when for compliance and analysis purposes.
{ "success": false, "message": "End date must be after start date", "error_code": "INVALID_DATE_RANGE"}
Campaign Not Modifiable
Copy
{ "success": false, "message": "Campaign cannot be modified in current status", "error_code": "CAMPAIGN_NOT_MODIFIABLE", "current_status": "expired"}
Validation Error
Copy
{ "success": false, "message": "Field validation failed", "error_code": "VALIDATION_ERROR", "validation_errors": [ { "field": "name", "error": "Campaign name must be unique within company" } ]}
Active Campaign Updates: Modifying active campaigns affects real-time promotions and customer experience. Consider the impact on current customers and orders in progress.