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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How to set Package Tracking No. using API 2.0

(0) ShareShare
ReportReport
Posted on by 5

Hello,

I'm doing an integration using the Dynamics 365 Business Central API v2.0 and wanted to know how can I set the Package Tracking No. under sales order using the API 2.0?

I have checked the API documentation and was not able to find any way to set it.
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/endpoints-apis-for-dynamics

Any help will be highly appreciated.

Thank you.

I have the same question (0)
  • Lars Lohndorf-Larsen Profile Picture
    Microsoft Employee on at

    Hello,

    I think this will not be easy. Item tracking is done on a related table, so you would have to somehow repeat the logic there, and how would the API call know what Tracking / Lot No. is available. Or is it the API that decides the tracking No. In any case, I would try to automate it in .al code first, to check what logic is needed. And then see if there is a way to call that from API. You would need some development, I think, so also worth seeing if others here on the forum have done something similar before.

    You can suggest new API functionality on github.com/.../ALAppExtensions. or Application Ideas on https://aka.ms/BCIdeas , and MS will consider making it available in the future. Until then, I think it will take "a bit" of development to achieve this.

    Sorry for not being better help here, I hope others may add their thoughts.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,072 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,129 Super User 2026 Season 1

#3
Gerardo Rentería García Profile Picture

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans