Add path parameters

A path parameter is variable element of a URL that identifies a specific resource in a collection. If an endpoint accepts a path parameter, you can use it to perform an action on a specific resource, instead of the entire collection.

The API Reference documentation shows whether an endpoint accepts a path parameter. If it does, the reference documentation denotes a path parameter by a pair of braces { }. For example, the endpoint: https://connectivity-eu-api.pelion.com/stock-orders/{orderId} accepts a path parameter called "orderId."

When you make an API call, replace the braces and the placeholder inside the braces with an actual value. For example, to refer to an order with an orderId of 20, use:

https://connectivity-eu-api.pelion.com/stock-orders/20