Generating a client via OpenAPI

The Marketplace API uses Swagger (https://swagger.io/) to facilitate the generation of a ready-to-use client in a wide variety of languages.

How does it work?

  1. Retrieve the Marketplace API template via this address:
  2. Copy the model in the left window of the Swagger editor (https://editor.swagger.io/).

    You can safely ignore the error “Semantic error at paths./orders/.post.operationId Operations must have unique operationIds”.

  3. In the menu of the Swagger editor, click Generate Client and select the language of your choice (PHP, Python, etc.).
  4. After downloading and extracting the generated code, follow the instructions of the README.md file.
That’s it!