Storefront API Collection filtering by productType not working

OK this turned out to be a configuration issue. To allow filtering by product type, it needs to be turned on in the admin for your store. If you navigate to: Online Store > Navigation

… and scroll to the bottom, you will see where you can add allowed filters: