How can I pass url parameter for a linkedin share url?

I want to do something like this :
<a href='https://www.linkedin.com/sharing/share-offsite/?url=https://www.xyz_website.com?id=123'> Share on LinkedIn </a>

But the link that is created in linkedin post is creating link to https://www.xyz_website.com?id= and omitting 123.

Is there a way have the parameter in link correctly ?