Replace a contribution with the supplied values. This is a full update: omitted fields are cleared, with two exceptions. Soft credits are replaced only when a non-empty list is sent, so they cannot be removed through this endpoint, and files only links additional documents to the contribution, never unlinks existing ones. Gateway-processed contributions allow only a limited set of edits (e.g. notes and confirmation number), and the amount and designations of a refund or of a contribution posted to accounting cannot be changed. First retrieve the current contribution from /api/contributions/{id}, apply your changes, then send back the full object. Editing a contribution in another user's batch requires the Full Write Contributions or Unrestricted Batches permission.
Required permission: Limited Write Contributions
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
200OK
401Authentication is required, or the Ocs-Api-Key header is missing or invalid.
