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.

  • Lars Lohndorf-Larsen Profile Picture
    on at
    RE: How to set Package Tracking No. using API 2.0

    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

🌸 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 628 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 495

#3
Sagar Dangar, MCP Profile Picture

Sagar Dangar, MCP 395

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans