Working with Availabilities - E-Commerce

Hi, I’m trying to work out how ‘Working with Availabilities’ in the E-Commerce works:

https://pimcore.com/docs/6.x/Development_Documentation/E-Commerce_Framework/Working_with_Availabilities.html

I tried to find an example in the Pimcore Demo but no luck. Does any one have a basic example on how this feature works.

Much appreciated.