Listing Retailers

Required Permission

can-list-retailers

See Auth* (scopes).

Request

GET /retailers HTTP/1.1
Authorization: Bearer <bearer token>

Response

HTTP/1.1 200 OK
[
  {
    "id": "b2803ba6-5417-41f1-be1a-b5656a6eb74c",
    "name": "developer",
    "details": null,
    "links": []
  }, {
    "id": "8bb1558f-a7aa-4372-a135-49950fe2f471",
    "name": "default",
    "details": null,
    "links": []
  }
  /** ... **/
]

Failure

Request error; e.g. invalid JSON object:

HTTP/1.1 400 BAD REQUEST

User doesn't have the required permission:

HTTP/1.1 403 FORBIDDEN

Location id doesn't match an existing location:

HTTP/1.1 404 NOT FOUND

Other errors:

HTTP/1.1 500 INTERNAL SERVER ERROR

results matching ""

    No results matching ""