How to provide an "Order" button for a restaurant in Apple Maps

I noticed that when searching for restaurants in the Apple Maps app, some restaurants have an "Order" button.

In one of the cases that I looked at, it launches "Yelp".

If I were to build an app for a specific restaurant, and that restaurant offered takeout ordering within the app, then I'd rather have Apple Maps launch my app, instead of Yelp. How would I do that? Having trouble finding the APIs for this.

I still would like the "Order" button right there, as it's very useful. I'd just rather it launch my app (assuming it's installed on the user's device).

How to provide an "Order" button for a restaurant in Apple Maps
 
 
Q