planningcenter / developers

Planning Center API docs and support
https://developer.planning.center/docs/
85 stars 8 forks source link

Requesting the ability to add a note to a donation during POST #1197

Closed vbaarda closed 3 months ago

vbaarda commented 3 months ago

Related Product Giving

Is your feature request related to a problem? Please describe. I have written a Python script to POST donations to a Planning Center batch based on donations to our Venmo charity profile. However, my script is somewhat lossy, since I cannot include the Venmo donation note in the Planning Center donation POST payload.

Describe the solution you'd like Here's the payload I thought would work. This is just a snippet from the full donation payload.

{ "included": [ { "type": "Note", "attributes": { "body": "Note from Venmo donation" } } ] }

Here's the result:

{ "errors": [ { "status": "422", "title": "Forbidden Attribute", "detail": "notes_attributes cannot be assigned" } ] }

Describe alternatives you've considered We could use the GUI to add the Venmo note to the PCO donation note field, but we are trying to avoid manual effort.

Additional context

I have..

wassimk commented 3 months ago

Hi, @vbaarda, I'm a developer on the Giving team. I appreciate you writing in! I created an internal tracking ticket for this request to put it on our radar. I can't promise a timeline for completion, but we will discuss this request.

I'm closing the issue for now, but I've linked that to this thread, so if there is anything to report, I will post it here.

michaelhvisser commented 2 months ago

It would be great to have this feature added to the API! Please keep us posted when this becomes available.

vbaarda commented 2 months ago

@michaelhvisser's use case is different from mine, and also cool. He wants to add a reference ID to an external transaction.

michaelhvisser commented 2 months ago

I think that's Phil W. I would just like to be able to add a memo or a note via the API as per your request.

vbaarda commented 2 months ago

Oops! Sorry about that, chief!

Yes, the reference ID use case comes from a user in the Planning Center Community Slack.