Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceQueries

Identity__tenants

Platform admin only.

QUERYidentity__tenants(where: CommonPaginationDto): TenantsWithPagination!

Platform admin only.

Arguments

where?

Returns

  1. identity__tenants
meta?
nodes?
Example Request
query Identity__tenants {  identity__tenants {    meta {      currentPage      hasNextPage      totalCount      totalPages    }    nodes {      _id      address {        caption        lat        lng      }      businessPhoneNumber      charges {        taxRate      }      createdAt      description      name      siteDomain      status      tagline    }  }}
Example Response
{  "data": {    "identity__tenants": {      "meta": {        "currentPage": 10.5,        "hasNextPage": true,        "totalCount": 10.5,        "totalPages": 10.5      },      "nodes": [        {          "_id": "1",          "address": {            "caption": "string",            "lat": 10.5,            "lng": 10.5          },          "businessPhoneNumber": "string",          "charges": {            "taxRate": 10.5          },          "createdAt": "<DateTime>",          "description": "string",          "name": "string",          "siteDomain": "string",          "status": "string",          "tagline": "string"        }      ]    }  }}