Bulk

Bulk Documentation

Donations [BULK PUT]

Donations [BULK PUT]

Request

Endpoint

PUT /api/v2/account_lists/3f64efc1-87cb-4ac8-af28-990845095139/donations/bulk
Content-Type: application/vnd.api+json

Body

{
  "data": [
    {
      "data": {
        "type": "donations",
        "id": "13a408fb-3aa3-4dde-a1cf-6dbf5f8bdad1",
        "attributes": {
          "amount": "9.99",
          "donation_date": "2021-12-12",
          "appeal_amount": "0.00",
          "motivation": "MyString",
          "payment_method": "MyString",
          "tendered_currency": "ZAR",
          "tendered_amount": "9.99",
          "currency": "ZAR",
          "memo": "MyText",
          "payment_type": "MyString",
          "channel": "MyString",
          "overwrite": true
        },
        "relationships": {
          "appeal": {
            "data": {
              "type": "appeals",
              "id": "533cf8d0-788c-4db5-8726-6725582f2664"
            }
          }
        }
      }
    }
  ]
}

Response

Headers

Body

Fields

data

Type [Donation / error]

Description Array of both Donation objects that have been successfully updated and of errors related to Donation objects that were not updated successfully

Last updated