v1

latestOpenAPI 3.0.02026-08-062903562.2 MB
Organization Consumer Mappings

Update an organization consumer mapping

Update an organization consumer mapping

put/consumer-charity-mappings/{consumer_charity_mapping}

Path parameters

consumer_charity_mappinginteger required

Mapping ID

Request body

consumer_charity_idinteger

Consumer charity ID

einstring

EIN (9 digits, with or without dash)

organization_idinteger

Organization ID

Response

Mapping updated successfully

idinteger

Primary identifier of record

organization_idinteger nullable

Internal organization ID (null if unmatched)

consumer_charity_idinteger

External consumer charity ID

einstring

EIN without dashes (9 digits)

is_primaryboolean

Whether this is the primary organization for this consumer charity ID

is_matchedboolean

Whether this mapping is matched to an organization (true if organization_id is not null)

created_atstring date-time

Date/time of record creation

updated_atstring date-time

Date/time of record last update

Example response

{
  "id": 1,
  "organization_id": 123,
  "consumer_charity_id": 456789,
  "ein": "123456789",
  "is_primary": true,
  "is_matched": true,
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}