Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceQueries

Storefront__tenant Themes

{ permissions: ['*', 'read'], collectionName: 'storefront__TenantThemeMap' } Requires a signed-in staff user. Needs the `storefront__TenantThemeMap` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).

QUERYstorefront__tenantThemes(where: CommonPaginationDto): TenantThemeMapsWithPagination!

{ permissions: ['*', 'read'], collectionName: 'storefront__TenantThemeMap' } Requires a signed-in staff user. Needs the storefront__TenantThemeMap read permission. Send the x-tenant header (the gateway sets it from your API key).

Arguments

where?

Returns

  1. storefront__tenantThemes
meta?
nodes?
Example Request
query Storefront__tenantThemes {  storefront__tenantThemes {    meta {      currentPage      hasNextPage      totalCount      totalPages    }    nodes {      _id      createdAt      draftDocumentJson      kind      name      publishedAt      publishedDocumentJson      status      theme {        _id        allowedTypes        defaultDocumentJson        label        nodesJson        screenshot        slug        status      }    }  }}
Example Response
{  "data": {    "storefront__tenantThemes": {      "meta": {        "currentPage": 10.5,        "hasNextPage": true,        "totalCount": 10.5,        "totalPages": 10.5      },      "nodes": [        {          "_id": "1",          "createdAt": "<DateTime>",          "draftDocumentJson": "string",          "kind": "CATALOG",          "name": "string",          "publishedAt": "<DateTime>",          "publishedDocumentJson": "string",          "status": "ARCHIVED",          "theme": {            "_id": "1",            "allowedTypes": [              "string"            ],            "defaultDocumentJson": "string",            "label": "string",            "nodesJson": "string",            "screenshot": "string",            "slug": "string",            "status": "DRAFT"          }        }      ]    }  }}