Update customer email settings
/api/v1/email-preferences/customer-emailsReplaces the settings for the mode of your key. Send all five values.
Authorization
bearerAuth An access token from POST /api/v1/oauth/token, sent as Authorization: Bearer <token>.
In: header
Header Parameters
The API version to use for this request, a date such as 2026-11-06. Without it the request uses your default version for the mode of your key. An unknown version answers 400 api_version_invalid.
Value in
- "2026-11-06"
Request Body
application/json
The new settings. All five are required.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://api-malipo.flex.co.tz/api/v1/email-preferences/customer-emails" \ -H "Authorization: Bearer <token>" \ -H "FlexMalipo-Version: 2026-11-06" \ -H "Content-Type: application/json" \ -d '{ "renewalReminder": true, "pastDue": true, "expired": true, "receipt": true, "renewsOn": true }'{ "renewalReminder": true, "pastDue": true, "expired": true, "receipt": true, "renewsOn": true}