Skip to Content

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.

MethodPathScopeReturns
GET/companyanyThe company that owns the key
GET/locationscatalog:readLocations the key can see
GET/product-groupscatalog:readProduct groups
GET/productscatalog:readProducts with prices
GET/products/{productId}catalog:readOne product
GET/salespersonssales:readSalesperson names
GET/sales/summarysales:readKey figures for a period
GET/sales/breakdownsales:readSales grouped by one dimension
GET/salessales:readRaw sales lines
GET/reportsreports:readReport types you can download
GET/reports/{reportType}reports:readA report as PDF or Excel

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