Update Custom Fields in Estimate returns {"code":4,"message":"Invalid value passed for JSONString"}
What am i missing here?
This is a custom function inside "automation" tab of Zoho Books, all i am trying to do is update some custom fields that are blank so they have the correct value from the customers profile in CRM if the sales person forgot to enter it.
- updatedEstimate = invokeurl
- [
- url :"https://books.zoho.com/api/v3/estimates/" + estimateID + "?organization_id=" + organizationID
- type :PUT
- parameters:{"custom_fields":
- [
- {
- "api_name": "cf_dob",
- "value": custDOB
- },
- {
- "api_name": "cf_gender",
- "value": custGender
- }
- ]
- }
- connection:"zbooks"
- ];
RESPONSE: {"code":4,"message":"Invalid value passed for JSONString"}