List salesperson names
The salesperson names found on sales in the key's locations in the last 13 months. Registers store names, not ids, so use the name in the salesperson filter. All names come on one page. Requires scope sales:read.
apiKeyAuthorizationBearer <ajr_live_<keyId>_<secret>>An Ajour API key, sent as Authorization: Bearer <key>. Create keys in the Ajour back office under Settings → API keys. Each key has scopes: catalog:read, sales:read, reports:read and customers:read.
OK
application/json- response
data*array<>The items on this page.
nextCursor?|Pass as cursor to get the next page. null on the last page.
curl -X GET 'https://api.ajour.dk/v1/salespersons'{
"data": [
{
"name": "Anna"
},
{
"name": "Mikkel"
}
],
"nextCursor": null
}Get one product GET
One product by its POS number. Same shape as one item in the product list. Returns `404` if the number is unknown for this company. Requires scope `catalog:read`.
Get key figures for a period GET
The same key figures as the cards on the Ajour dashboard. Add `compare=previousYear` to also get last year's figures for the same weekdays, aligned the same way as the dashboard. The period can be at most 366 days. Requires scope `sales:read`.