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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Can we update sales order line by sales order Custom OR Default API patch request?(Nested Update)

(1) ShareShare
ReportReport
Posted on by 35

Hi All,

I am using Business Central  Cloud version 18.

I tried to update sales order lines by sales header API using PATCH request of sales orders.

Default API URL:api.businesscentral.dynamics.com/.../{{Sandbox}}/api/v2.0/companies({{CompanyId}})/salesOrders

Custom API  URL:api.businesscentral.dynamics.com/.../CustomsalesOrders

Using business central API(Using Both Default and Custom) I tried to add a new sales line in sales order API ,I got  200 OK as response but the new sales order line was not created.

Same thing happened when try to update sales order line using  sales order API PATCH Request.

Can we updated sales order line and header in one API like we do deep insert , can we do deep update using Custom and Default Business Central API?

If any one have idea ,then Please suggest.

Thank you so much for your help.

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    If there are no further responses from the community, you may want to raise this as a question for Microsoft support.

    Thanks.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans