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"}

    Access your files securely from anywhere









                          Zoho Developer Community




                                                • Desk Community Learning Series


                                                • Digest


                                                • Functions


                                                • Meetups


                                                • Kbase


                                                • Resources


                                                • Glossary


                                                • Desk Marketplace


                                                • MVP Corner


                                                • Word of the Day


                                                • Ask the Experts



                                                          • 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


                                                          Manage your brands on social media



                                                                Zoho TeamInbox Resources



                                                                    Zoho CRM Plus Resources

                                                                      Zoho Books Resources


                                                                        Zoho Subscriptions Resources

                                                                          Zoho Projects Resources


                                                                            Zoho Sprints Resources


                                                                              Qntrl Resources


                                                                                Zoho Creator Resources



                                                                                    Zoho CRM Resources

                                                                                    • CRM Community Learning Series

                                                                                      CRM Community Learning Series


                                                                                    • Kaizen

                                                                                      Kaizen

                                                                                    • Functions

                                                                                      Functions

                                                                                    • Meetups

                                                                                      Meetups

                                                                                    • Kbase

                                                                                      Kbase

                                                                                    • Resources

                                                                                      Resources

                                                                                    • Digest

                                                                                      Digest

                                                                                    • CRM Marketplace

                                                                                      CRM Marketplace

                                                                                    • MVP Corner

                                                                                      MVP Corner







                                                                                        Design. Discuss. Deliver.

                                                                                        Create visually engaging stories with Zoho Show.

                                                                                        Get Started Now


                                                                                          Zoho Show Resources

                                                                                            Zoho Writer

                                                                                            Get Started. Write Away!

                                                                                            Writer is a powerful online word processor, designed for collaborative work.

                                                                                              Zoho CRM コンテンツ






                                                                                                Nederlandse Hulpbronnen


                                                                                                    ご検討中の方