Versioning

When you decide to use a code that is not yours, such as the Ordering API, one of the things that you have to worry about is keeping up with the latest version that you are using. Not only because they may include things that may interest you, but also because the latest version of the API you just based your application on may not be compatible with code from previous versions. As Ordering API will be in constant development the team decided to include the versioning.

The way in which the versioning is used in the Ordering API is in the path params of the requests, this parameter is version. To show the idea more clearly we will look at an example below.