web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Single API call for multiple purchase/sale lines

(0) ShareShare
ReportReport
Posted on by 5
How do we create a single post call in json for multiple purchase/sales lines (to a single header) to the API at once?
Couldn't find any examples online of multiple lines, just a single line
I have the same question (0)
  • Suggested answer
    Genie Cetas Profile Picture
    472 on at

    Hi,

    Yes, It is possible to insert sales/purchase order and lines all at single post call using deep insert.

    For more information about Deep Insert : 

    https://docs.microsoft.com/en-us/dynamics-nav/api-reference/v1.0/dynamics-rate-limits

    https://www.kauffmann.nl/2020/05/05/deep-insert-with-business-central-apis/

  • Charan_12 Profile Picture
    115 on at

    Hello i have been able to create a Sale Header and multiple Sale Lines in one post request. But I need to be able to add multiple sales lines to an existing order.  I have managed to add a single line to a existing order  anyone now if its possible to add multiple?

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,496 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 961 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 870 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans