I have a proxy that has the following base path:
/shipping/v4
There are two conditional paths
/label
/products
I want to have 2 different Apigee Products for label and products so I can assign which of these two products a developer should have access to.
It was a business decision that the base path for both these products should be called /shipping/v4 hence both these routes (label and products) had to be inside the same proxy.
How can I now control access to /label and /products using multiple products?
We don't use scopes today.
Yes. You can. When defining a product you can restrict it to a specific path within a proxy.
So you could create a product for /label path, and another for /products path.
See https://docs.apigee.com/api-platform/publish/create-api-products#add for more details