# Overview (/api-reference)

The reference is generated from the [OpenAPI file](/openapi/public-v1.json). All endpoints are `GET` calls on `https://api.ajour.dk/v1` and need an [API key](/authentication).

| Method | Path | Scope | Returns |
| --- | --- | --- | --- |
| `GET` | `/company` | any | The company that owns the key |
| `GET` | `/locations` | `catalog:read` | Locations the key can see |
| `GET` | `/product-groups` | `catalog:read` | Product groups |
| `GET` | `/products` | `catalog:read` | Products with prices |
| `GET` | `/products/{productId}` | `catalog:read` | One product |
| `GET` | `/salespersons` | `sales:read` | Salesperson names from the last 13 months |
| `GET` | `/sales/summary` | `sales:read` | Key figures for a period |
| `GET` | `/sales/breakdown` | `sales:read` | Sales grouped by one dimension |
| `GET` | `/sales` | `sales:read` | Raw sales lines |
| `GET` | `/reports` | `reports:read` | Report types you can download |
| `GET` | `/reports/{reportType}` | `reports:read` | A report as PDF or Excel |

Choose an endpoint in the menu to see its parameters, responses and code examples.