where do I get the correct OrgID?

where do I get the correct OrgID?

Hi everyone.

I decided today to try to solve a problem using Deluge function.

For this I need to get all the products that lie in the sales order on which the trigger in Flow was triggered.

This is the line where the error occurs:

inventoryOrder = zoho.inventory.getRecordsByID("SalesOrders",XXXXXXXXXXXXXXXXXX,MySO_ID);

The system returns this error message to me:

{"code":14, "message": "The request could not be authenticated as the authentication value you entered is invalid. Enter a valid authentication value and try again."}

I understand that the OrgID (XXXXXXXXXXXXXXXXXXXX) is incorrect.

There should be no problem with MySO_ID, because I read it in Flow and pass it to the function.

But where do I get the correct OrgID?

Is there an option to read it from the API directly in the script?


    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 コンテンツ




                              ご検討中の方