Bug in API documents for POST /salesorders (contact_persons)

Bug in API documents for POST /salesorders (contact_persons)

Hi all,

what is the correct place to report bugs in the documentation? There are several, and this last one cost me a few hours of trial and errors, so I would love to see them fixed.

Anyway, when creating a sales order, at this page: https://www.zoho.com/inventory/api/v1/salesorders/#create-a-sales-order the docs state that contact_persons should be an array of objects, and each object should contain a contact_person_id.

Eg (does not work):
  1. "contact_persons": [
            { "contact_person_id": 4815000000044080 }
        ],

The real situation is that contact_persons is an array, and each item of the array should contain the ID of the contact person.

Eg (works):
  1. "contact_persons": [
  2.         4815000000044080
  3.     ],

Otherwise, you will get: "Invalid value passed for contact_persons".

Thanks

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns 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