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...
Suggested answer

Business central API setting sell-to contact on create or update

(1) ShareShare
ReportReport
Posted on by 18
I'm writing an integration layer between an internal system and business central and have logic that can create and update sales orders, but I'm unable to edit the sales order's sell-to contact. I found the code that does it in the UI layer, but it seems to be impossible to do through the API layer. Any advice would be massively appreciated.
 
As a side note, I also couldn't find a way to release a sales order and ended up building a custom API endpoint for it, but would be interested to know if there's any built in way of doing it.
 
Thanks again
I have the same question (0)
  • Suggested answer
    Nimsara Jayathilaka. Profile Picture
    429 on at
    Business central API setting sell-to contact on create or update
    The Business Central API does not allow direct editing of the sales order's sell-to contact because this field is typically managed through the UI and linked customer records. For releasing a sales order, there is no built-in API endpoint, so creating a custom API endpoint or codeunit to handle the release logic is the recommended approach
     
    Update Sale Order details : 
  • Suggested answer
    RockwithNav Profile Picture
    8,006 Super User 2025 Season 2 on at
    Business central API setting sell-to contact on create or update
    Did you try with the standard API V2.0. We have Ship to Contact, I tried creating an entry and it was successful.
    Do you want insertion and modification?
    Releasing an API you need to go with the Bound actions.

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
Sumit Singh Profile Picture

Sumit Singh 2,710

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 2,675 Super User 2025 Season 2

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,203

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans