Zoho billing deluge fetching and updating customer

Zoho billing deluge fetching and updating customer

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"}
    • Sticky Posts

    • Zoho Billing will discontinue support for older browser versions soon

      Hello users, Starting from May 15, 2024, Zoho Billing will no longer support the following browser versions: Browsers Version Restrictions Firefox Browser Versions older than 100 Google Chrome Versions older than 100 Microsoft Edge Versions older than
    • Introducing Developer Space in Zoho Subscriptions

      Hello devs! At Zoho Subscriptions, we're constantly looking for ways to empower the developer community. Our goal is to provide you with the tools you need to integrate Zoho Subscriptions with your other platforms, and we also want to make it easy to