Skip to Content
Company and catalog

List salesperson names

GET
/salespersons

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.

Authorization

apiKey
headerAuthorizationBearer <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.

Response Body

OK

application/json
  1. response
data*array<>

The items on this page.

nextCursor?|

Pass as cursor to get the next page. null on the last page.

Example Request
curl -X GET 'https://api.ajour.dk/v1/salespersons'
Example Response
{
  "data": [
    {
      "name": "Anna"
    },
    {
      "name": "Mikkel"
    }
  ],
  "nextCursor": null
}