This endpoint manages the relationship between campaigns and store locations, allowing you to see which stores are associated with a campaign and manage store-specific campaign configurations.
Campaign-store associations determine where campaigns are active and visible to customers. Each association can have store-specific settings and configurations.
Scheduling: Store-specific timing and duration adjustments
Store-Specific Configurations: Each store can have unique campaign settings while maintaining the overall campaign structure. This allows for localized marketing while maintaining brand consistency.
Performance Tracking: Use the association summary data to identify which store types or regions are performing best with the campaign, helping optimize future campaign targeting.
{ "error": "Campaign not found", "message": "The specified campaign does not exist", "code": "CAMPAIGN_NOT_FOUND"}
No Store Associations
Copy
{ "campaign_id": "1000010", "campaign_name": "Spring Fresh Campaign", "total_associated_stores": 0, "store_associations": [], "message": "No stores are currently associated with this campaign"}
Access Denied
Copy
{ "error": "Access denied", "message": "You do not have permission to view store associations for this campaign", "code": "ACCESS_DENIED"}
Privacy Considerations: Store association data may include sensitive business information about store performance and configurations. Ensure appropriate access controls are in place.