Campaigns
Campaign routes manage marketing or follow-up campaigns and the customers assigned to them.
Campaign Records
- Use Campaigns.List to show campaigns and Campaigns.Add/Edit/Update to manage campaign details.
- Campaigns can be activated or disabled without deleting history.
- Deleting/removing a campaign should be shown only to users with campaign management permission.
Campaign Members
- Use AddCustomer and RemoveCustomer to attach or detach customers from a campaign.
- Store campaign_id and customer_id from list/search results before calling member actions.
- The UI should prevent duplicate customer assignments when the list response already contains the customer.
Common Flow
- Load campaign permissions from User.Basic.
- List campaigns and use Count where paging is needed.
- Create or edit campaigns with required campaign details.
- Add or remove customers using saved ids.