Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceQueries

Storefront__themes

Published catalog themes. System admins see drafts as well. { permissions: ['*', 'read'], collectionName: 'storefront__Theme' } Requires a signed-in staff user. Needs the `storefront__Theme` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).

QUERYstorefront__themes(where: CommonPaginationDto): StorefrontThemesWithPagination!

Published catalog themes. System admins see drafts as well. { permissions: ['*', 'read'], collectionName: 'storefront__Theme' } Requires a signed-in staff user. Needs the storefront__Theme read permission. Send the x-tenant header (the gateway sets it from your API key).

Arguments

where?

Returns

  1. storefront__themes
meta?
nodes?
Example Request
query Storefront__themes {  storefront__themes {    meta {      currentPage      hasNextPage      totalCount      totalPages    }    nodes {      _id      allowedTypes      defaultDocumentJson      label      nodesJson      screenshot      slug      status    }  }}
Example Response
{  "data": {    "storefront__themes": {      "meta": {        "currentPage": 10.5,        "hasNextPage": true,        "totalCount": 10.5,        "totalPages": 10.5      },      "nodes": [        {          "_id": "1",          "allowedTypes": [            "string"          ],          "defaultDocumentJson": "string",          "label": "string",          "nodesJson": "string",          "screenshot": "string",          "slug": "string",          "status": "DRAFT"        }      ]    }  }}