Recurring Invoice message:- java.lang.Object@9ede8b

Recurring Invoice message:- java.lang.Object@9ede8b

Trying to access and update a recurring invoice custom field using the following but not recieve any kind of response other than the subject title message.

the code


  1. /*
  2. This is a sample function. Uncomment to execute or make changes to this function.
  3. recurringInvoiceID = recurring_invoice.get("recurring_invoice_id");
  4. organizationID = organization.get("organization_id");
  5. */
  6. // This is a sample function. Uncomment to execute or make changes to this function.
  7. invoiceID = recurring_invoice.get("recurring_invoice_id");
  8. organizationID = organization.get("organization_id");
  9. url = 'https://examples.com/'.concat(invoiceID);
  10. res = zoho.books.updateRecord('RecurringInvoices',organizationID,invoiceID,{"custom_fields":{{"label":"Payment Link","value":url,"place_holder":"cf_payment_link"}}},"internal--zohobooks");
  11. i = zoho.books.getRecordsByID('Recurring-Invoices',organizationID,invoiceID,"internal--zohobooks");
  12. info i;