---
updatedAt: 2026-06-03T10:02:31.000Z
agentTools:
  projectIndex: https://snaprefund.readme.io/llms.txt
---

# Update insured’s marketing email notifications

Update customer's communication preferences. If enabled, customer will receive email notifications about our new features.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/api/public/users/{userId}/marketing-email-preference": {
      "patch": {
        "operationId": "PublicApiUsersController_updateMarketingEmailPreference",
        "summary": "Update insured’s marketing email notifications",
        "description": "Update customer's communication preferences. If enabled, customer will receive email notifications about our new features.",
        "parameters": [
          {
            "name": "userId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateMarketingEmailPreferenceDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": ""
          }
        },
        "tags": [
          "user"
        ],
        "security": [
          {
            "Authorization": []
          }
        ]
      }
    }
  },
  "info": {
    "title": "STAGING",
    "description": "",
    "version": "2.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://claims-staging.snaprefund.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization"
      }
    },
    "schemas": {
      "UpdateMarketingEmailPreferenceDto": {
        "type": "object",
        "properties": {
          "isAllowed": {
            "type": "boolean",
            "description": "Update the customer's communication preferences status to enabled (true) or disabled (false)."
          }
        },
        "required": [
          "isAllowed"
        ]
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```