Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Storefront__install Theme

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

MUTATIONstorefront__installTheme(input: InstallThemeInput!): CommonMutationResponse!

Install a code catalog theme and create tenant-owned state. { permissions: ['*', 'create'], collectionName: 'storefront__TenantThemeMap' } Requires a signed-in staff user. Needs the storefront__TenantThemeMap create permission. Send the x-tenant header (the gateway sets it from your API key).

Arguments

input*

Returns

  1. storefront__installTheme
_id*ID!
Example Request
mutation Storefront__installTheme($input: InstallThemeInput!) {  storefront__installTheme(input: $input) {    _id  }}
Variables
{  "input": {    "themeId": "string"  }}
Example Response
{  "data": {    "storefront__installTheme": {      "_id": "1"    }  }}