PATCH v3/baskets/{id}/donations

Update the details of a number of donations in a basket

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The basket id

string

Required

donationIds

A comma-separated list of ids to patch. If not present, this method patch all donations in the basket

Collection of string

None.

Body Parameters

DonationPatch
NameDescriptionTypeAdditional information
Amount

decimal number

None.

FundId

string

None.

RecognitionName

string

None.

IsAnonymous

boolean

None.

TributeTypeId

string

None.

TributeName

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json

Sample:
{
  "amount": 1.0,
  "fundId": "sample string 3",
  "recognitionName": "sample string 5",
  "isAnonymous": true,
  "tributeTypeId": "sample string 8",
  "tributeName": "sample string 10"
}

text/xml

Sample:

The response/request for text/xml format is no longer supported for this endpoint.

Response Information

Resource Description

The updated donations on success. (All donations, not just those passed in donationIds). 404 (Not found) if any of the donations could not be found

Collection of Donation
NameDescriptionTypeAdditional information
Amount

decimal number

None.

Fund

Fund

None.

RecognitionName

string

None.

IsAnonymous

boolean

None.

TributeTypeId

string

None.

TributeName

string

None.

Id

string

None.

Response Formats

application/json, text/xml

Sample:

Sample not available.