Pass ACF value into a shortcode

How do I pass an ACF value into a shortcode for a different plugin/function?

I’m building out a booking site with need to add a calendar. The calendars reference an ID (number) that is contained in an ACF field.

Shortcode needs to look like this: [bookingcalendar type=“ID”]. I need to be able to dynamically replace ID with the number specified in the custom field of each post.

What’s the best way to achieve this?