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

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 2,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans