---
schema_version: "1"
id: 70011936b3f7da26aef1095cff277bc64bc6e25595ca802ea51a585d8e591318
title: Apply Member Overrides Action
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/actions_obj_apply_member_overrides.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/actions_obj_apply_member_overrides.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b5640f802430289fde38d7bda75995e2e65bcbf09aed95be1f4dfe3601dbaada
description: Apply member-specific overrides that differ from the member’s group class default configuration on a group insurance quote. Use this action to apply plan, coverage, or attribute overrides, or to clone an override configuration from one group census member to one or more target group census members on the same root plan. Cloning replaces each target member’s existing override configuration.
---
# Apply Member Overrides Action

Apply member-specific overrides that differ from the member’s group class default configuration on a group insurance quote. Use this action to apply plan, coverage, or attribute overrides, or to clone an override configuration from one group census member to one or more target group census members on the same root plan. Cloning replaces each target member’s existing override configuration.

This action is available in API version 68.0 and later.

## Supported REST HTTP Methods

**URI**: /services/data/vXX.X/actions/standard/applyMemberOverrides

Where XX.X is the latest API version.

**Formats**: JSON, XML

**HTTP Methods**: POST

**Authentication**: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

## Inputs

| Input | Type | Description |
| --- | --- | --- |
| contextId | string | Transaction context ID. If specified, it takes precedence over the inline overrides input. |
| memberOverrides | Apex-defined | An Apex ConnectApi.MemberOverridesContainerInputRepresentation record containing the per-member override action to apply. |
| rootQliId | string | Required. ID of the root plan quote line item to which the member overrides are applied. |
| sourceMemberId | string | ID of the group census member whose override configuration is copied to the target members. If specified, the action clones the source member's overrides onto the target members instead of applying the inline overrides. |
| targetMemberIds | string | IDs of the group census members to receive the copied override configuration from the source member. Required if sourceMemberId is specified. |

## Outputs

| Output | Type | Description |
| --- | --- | --- |
| resultMessage | string | Message describing the result of the operation. |

## Example

**POST**

This sample request is for the Apply Member Overrides action.

{
  "input": \[
    {
      "contextId": "1cuxx0000004C92EAA",
      "rootQliId": "0QLxx0000004CtoCAE",
      "memberOverrides": \[
        {
          "contextId": "1cuxx0000004C92EAA",
          "rootQliId": "0QLxx0000004CtoCAE",
          "overrides": {
            "memberId": "0r6xx000000001aEAA",
            "overrideAction": "UPSERT",
            "productId": "01txx0000004C92AAE",
            "quoteLineItemId": "0QLxx0000004CtoCAE",
            "attributes": \[
              {
                "attributeId": "a0Axx0000004C92EAA",
                "attributeValue": "1500"
              }
            \]
          }
        }
      \],
      "sourceMemberId": "0r6xx000000003cEAA",
      "targetMemberIds": \[
        "0r6xx000000002bEAA"
      \]
    }
  \]
}

This sample response is for the Apply Member Overrides action.

\[
  {
    "actionName": "applyMemberOverrides",
    "errors": null,
    "invocationId": null,
    "isSuccess": true,
    "outcome": null,
    "outputValues": {
      "resultMessage": "The operation succeeded successfully."
    },
    "sortOrder": -1,
    "version": 1
  }
\]