Overview
Every endpoint of the Ajour Public API v1, with parameters and responses.
The reference is generated from the OpenAPI file. All endpoints are GET calls on https://api.ajour.dk/v1 and need an API key.
| 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 |
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.