Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceQueries

Identity__my Tenants

Requires a signed-in staff user.

QUERYidentity__myTenants: TenantsWithPagination!

Requires a signed-in staff user.

Returns

  1. identity__myTenants
meta?
nodes?
Example Request
query Identity__myTenants {  identity__myTenants {    meta {      currentPage      hasNextPage      totalCount      totalPages    }    nodes {      _id      address {        caption        lat        lng      }      businessPhoneNumber      charges {        taxRate      }      createdAt      description      name      siteDomain      status      tagline    }  }}
Example Response
{  "data": {    "identity__myTenants": {      "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"        }      ]    }  }}