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.

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: Can we update sales order line by sales order Custom OR Default API patch request?(Nested Update)

    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
YUN ZHU Profile Picture

YUN ZHU 374 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 247

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 231 Most Valuable Professional

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans