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




    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

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

                            Zoho CRM コンテンツ




                              ご検討中の方