Invalid value passed for salesorder_id

Invalid value passed for salesorder_id

Hi,
I am using sales return API, details are given below:

API:

Post Json Data:

{
"salesreturn_number": "",
"date": "2020-11-12",
"reason": "Testing from API",
"line_items": [
{
"item_id": 2083011000002873023,
"salesorder_item_id": 2083011000004669001,
"quantity": 1,
"non_receive_quantity": 1,
"warehouse_id": 2083011000003214017
}
]
}

When I hit this API I got an error:
{
"code": 4,
"message": "Invalid value passed for salesorder_id"
}

I checked sales order id, i found all details in post form is correct.
why i am getting this error.
Please help me out.

Thanks in advance.


    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