Added

Preference Center API: Smart Campaign Preferences endpoints + preference endpoint updates

Added

  • Get Smart Campaign Preferences (GET /api/v1/preferences/smart-campaigns) and Update Smart Campaign Preferences (PUT /api/v1/preferences/smart-campaigns) — manage a customer's subscription preferences for smart-campaign topics (topics configured as Hide from UI). Unlike Update Preferences, the update endpoint supports partial updates: only topics included in the request body are written.

Changed

  • Update Preferences (PUT /api/v1/preferences): the X-Tenant-Id header is now documented as required, matching the endpoint's actual behavior.
  • Documented previously undocumented error responses on the preference endpoints:
    • Get Preferences and Get Smart Campaign Preferences can return 400 when a referenced topic does not exist.
    • Update Preferences can return 409 when topics in the request body do not belong to the specified brand group.

These changes clarify and document existing API behavior. No change was made to how the API itself operates.