v3 - using a dynamic slug segment in a collection-page

I have a special page which displays the availability of some products retrieved from an external API. Al this logic is encapsulated in a Vue component which uses the last_segment of the url to get the information from the api.

I created a bard-set for the website-admin to insert the vue-component into the page. This way they can manage the text around the component just like a 'normal' page.

But now I'm facing a routing problem which I can't wrap my head around.

I want the above page to be available at example.com/availability-for/2020-04-25 With the last part obviously being dynamic. How would I organize this within a collection?

Just fyi I want to use this pattern for another page: example.com/order/3e2157ad-741c-4c66-884a-ae383a385d79

Answered by Jason Varga!
>>>>>>> Answered <<<<<<<
7 Replies