Notes - Share to Customer

Notes - Share to Customer

Hi Team 

I have a function that creates notes upon change of a value in Zoho CRM

Does anyone now how to set the Share to Customer automatically through a function?

cheers