Delink a Child Record from a Parent
Products can be linked to Deals by the user. Products can also be linked to Deals via Deluge, using the Result= zoho.crm.updateRelatedRecord("Products",Prod_ID, "Deals",Deal_ID,map_variable); and I have this working.
But I can't find any native deluge function that can delink a Product from a Deal.
My problem is that I don't understand the syntax of getting the oauthtoken and calling these methods from within Deluge, I believe it involves invokeUrl, but that's as far as my knowledge goes.
Can someone point me in the right direction? Or provide a skeleton of the calling code to get the oauthtoken and call the method? all assuming API v2
Thank you very much!