I found documentation about how to call a REST API with query parameters, but nothing about path parameter.
For example, how to call:
https://api.company.com/orders/AKL7315901
where AKL7315901 is the order number ?
Thanks.
I found documentation about how to call a REST API with query parameters, but nothing about path parameter.
For example, how to call:
https://api.company.com/orders/AKL7315901
where AKL7315901 is the order number ?
Thanks.
Are you looking to call the API on the client-side or in Server Action? Either way, you can create a dynamic url for the call. The process is slightly different depending which you are using.