Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-6493

id should be the only required parameter when updating a contribution

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1.5
    • Fix Version/s: 3.2
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      If you want to update a contribution record via the Contribution API, you current are required to pass contact_id, total_amount, and contribution_type_id parameters in addition to the id parameter identifying the record. When doing an update (i.e. when the id parameter is passed) it should not require any other parameters, as it can be assumed that those fields are already populated in the table.

        Attachments

          Activity

            People

            • Assignee:
              rahulbile Rahul Bile
              Reporter:
              kaldari Ryan Kaldari
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: