How to pass path parameters in routes?

How to pass path parameters from routes to third party api? for example:

API:
[GET] /products/{product:id}/status

Kong proxy:
Service:
/api/v1/

route:
[GET] /products/{product:id}/status

Could you elaborate on what exactly you’re trying to solve and what is the issue at hand?

I have an api that looks like this:

https:myapi.com/api/v1.0/user/{:id}/balance

I want to use kong gateway as proxy so, how do I set up the path parameter “{:id}”?

ex:
https://my-kong:8000/user/{:id}/balance

You don’t need to setup the entire path in Kong for proxying your API.

You can simply have a Service pointing to your API and then have a route with path /v1.0/.

Please refer to the proxy reference guide: https://docs.konghq.com/0.14.x/proxy/