API

Downloads

On this page

Two files describe the whole API, so you can try it in a tool or generate code. Both are made from the same definition as these pages. They describe API v1 as released with platform version 1.0.97.

OpenAPI 3.1

A standard description of every call, field and answer. Use it with any tool that reads OpenAPI 3.1: documentation viewers, API testers and code generators.

Download the OpenAPI file JSON, 205 KB

Postman collection

Every call with an example request, ready to import into Postman, in folders for each resource.

Download the Postman collection JSON, 34 KB

Before you use them#

  • Both files use the made-up store address https://yourstore.example.com. Change it to the address of the store you connect to: its own address followed by /api/v1.
  • In Postman, after importing, open the collection's Variables and set base_url to your store address and api_key to your key. The key is never part of the file.
  • In an OpenAPI tool, change the server address (https://yourstore.example.com/api/v1) and send your key as Authorization: Bearer YOUR_API_KEY or in an X-Api-Key header.
  • The files contain only made-up example data.