Portail client

Un client et, fiche par fiche, son rôle et l'état EFFECTIF de ses 19 permissions (clé absente = false, comme le portail la lit). available_permissions liste les clés.

get/v1/portal/clients/{id}

Request

  • Base URL: https://app.localnord.io/api
  • URL: https://app.localnord.io/api/v1/portal/clients/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Response

OK

unknown required

Example response

{
  "data": {
    "id": "…",
    "email": "client@example.com",
    "first_name": "Marc",
    "listings": [
      {
        "client_listing_id": "…",
        "listing_id": "…",
        "role": "client",
        "permissions": {
          "view_stats": true,
          "reply_reviews": false
        }
      }
    ]
  },
  "available_permissions": [
    "view_stats",
    "…"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.