---
title: "Update an organization consumer mapping"
method: PUT
path: "/consumer-charity-mappings/{consumer_charity_mapping}"
tags: ["Organization Consumer Mappings"]
---

# Update an organization consumer mapping

`PUT /consumer-charity-mappings/{consumer_charity_mapping}`

## Request

- Base URL: `https://pro.gofundme.com/api/2.0`
- URL: `https://pro.gofundme.com/api/2.0/consumer-charity-mappings/{consumer_charity_mapping}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `/oauth2/auth`
  - OAuth 2
    - Password
    - Token URL: `/oauth2/auth`

Update an organization consumer mapping

## Path parameters

- `consumer_charity_mapping` integer, required

## Request body

- object
  - `consumer_charity_id` integer: Consumer charity ID
  - `ein` string: EIN (9 digits, with or without dash)
  - `organization_id` integer: Organization ID

## Response `200`

Mapping updated successfully

- OrganizationConsumerMapping
  - `id` integer: Primary identifier of record
  - `organization_id` integer, nullable: Internal organization ID (null if unmatched)
  - `consumer_charity_id` integer: External consumer charity ID
  - `ein` string: EIN without dashes (9 digits)
  - `is_primary` boolean: Whether this is the primary organization for this consumer charity ID
  - `is_matched` boolean: Whether this mapping is matched to an organization (true if organization_id is not null)
  - `created_at` string, date-time: Date/time of record creation
  - `updated_at` string, date-time: Date/time of record last update

## Other responses

- `400`: Validation error
- `404`: Mapping not found

---

[API](https://skmtc.dev/gofundme/apis/gofundme-pro-api.md) - [All operations](https://skmtc.dev/gofundme/apis/gofundme-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gofundme/apis/gofundme-pro-api/revisions/094a1e510fe9?raw)
