Updating Name with GAS

Hello! I am attempting to make changes to persons with google apps script and PD API but I am not sure how that is done. I am able to doGet data and pull up anything I need but I cant figure out how to send data and make a change programatically. Can someone get me started please?

This is adding a deal to PD. For more info, follow the API ref docs here.


AWESOME! this is exactly what I needed. I can figure the rest out from this! Thank you!