Let the user see the tracking number, in their profile

Good morning, I am working in an e-commerce, and I would like that when the client is logged in, they can see their purchase tracking number.
I can make a call and bring the number of your order but the same does not happen with the tracking number.
If you can help me I would appreciate it.

Have a happy new year!!!!