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

Community site session details

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

Api to send sales orders to business central

(0) ShareShare
ReportReport
Posted on by 35

Hello readers, the client of an application asked me for an api so that he can register orders to business central, this api must register the header and many lines of detail

Business central currently handles the api header and detail api in 2 different apis but through an id connection, but the customer only needs one api so that he can make the record of his orders

Does Alguine know of a method? thanks for your help 

I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    90,070 Super User 2025 Season 2 on at
    RE: Api to send sales orders to business central

    Hi, just adding some info

    https://www.kauffmann.nl/2020/07/01/deep-insert-with-business-central-apis-part-2/

    Hope this helps as well.

    Thanks.

    ZHU

  • Suggested answer
    Robyn2018 Profile Picture
    Most Valuable Professional on at
    RE: Api to send sales orders to business central

    Hi Gabriel,

    You can handle both (header and lines) in the same API using the expand command.

    With this command you can obtain the sales Orders and their lines.  

    GET

    api.businesscentral.dynamics.com/.../salesOrders

    pastedimage1661100273695v1.png

    The same with the POST.  In the body, you must include the lines.

    Best regards,

    Roberto

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,689 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,631

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,212

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans