deluge scripting

deluge scripting

Hello,
I am trying to update a customer's details in billing from creator using deluge and i wanted to inquire if there's a way to update the customer's details by using the customer's email or phone number used in billing or creator instead of using the record id because i am able to create a customer from creator and now i would also like to update the customer.
This is the code i used to create and it worked.
values = Map();
values.put("display_name",input.Name);
values.put("company_name",input.AddName);
values.put("first_name",input.Name.first_name);
values.put("last_name",input.Name.last_name);
values.put("email",input.Email);
values.put("phone",input.Phone_Number);
values.put("mobile",input.Phone_Number);
response = zoho.billing.create("Customers","my_org_id",values,"api_v1");

And this is the code i am trying to use to update using email input from creator as a record id
values = Map();
values.put("display_name",input.Name);
values.put("company_name",input.AddName);
values.put("first_name",input.Name.first_name);
values.put("last_name",input.Name.last_name);
values.put("email",input.Email);
values.put("phone",input.Phone_Number);
values.put("mobile",input.Phone_Number);
values.put("cf_validation_credits",input.Validation_Credits);
response = zoho.billing.update("Customers","my_org_id",input.Email",values,"api_v1");
info response;
This is the error i get when i run the update code

On Update script of Validation_Credits. : log messages

{"code":5,"message":"Invalid URL Passed"}