Announcements
Hello,
I am referring to this Documentation about batch requests. Can we create multiple records that are related to different entities in the same request?
For example: Create the Sales Order and Sale Order Products.
Thank You,
Eman
Hello Eman,
Check this - docs.microsoft.com/.../create-entity-web-api
Hi,
Thank yo for your query. If you mean to create Sales order and related products in one go, that will not work. Sales Order header must be created before order products. That means, your batch must have multiple change sets (one for the order header and one for lines).
In a batch we can have multiple change sets and read operations, your batch structure would look like this:
Here is a very nice post for your reference:
Execute Web API Batch Operations Without ExecuteMultiple – Implementing Tae of <T> (taerimhan.com)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Muhammad Shahzad Sh... 71 Most Valuable Professional
Abhilash Warrier 66 Super User 2026 Season 1
ManoVerse 46 Super User 2026 Season 1