Update many Gifts
PATCH {{baseUrl}}/api/Gift
Use this endpoint anytime more than 1 gift is going to be updated. Please note that unlike other update endpoints this endpoint ONLY needs what is being updated (i.e. a patch). For example, if you want to update the receipt date on a gift, only send the gift Id and the receipt date. This ensures performance is top-notch.
Request Body
{"0"=>{"id"=>"<integer>", "receiptDateUtc"=>"<dateTime>", "segmentId"=>"<integer>", "notes"=>"<string>", "customFields"=>"<object>"}, "1"=>{"id"=>"<integer>", "receiptDateUtc"=>"<dateTime>", "segmentId"=>"<integer>", "notes"=>"<string>", "customFields"=>"<object>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
"\u003cobject\u003e"