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).
storefront__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
- storefront__installTheme
_id*ID!mutation Storefront__installTheme($input: InstallThemeInput!) { storefront__installTheme(input: $input) { _id }}{ "input": { "themeId": "string" }}{ "data": { "storefront__installTheme": { "_id": "1" } }}Storefront__install Fluid Theme MUTATION
Prototype: install an uploaded Fluid theme version so it can be customized (draft and published customization). Returns the existing install if there is one. { 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).
Storefront__publish Theme MUTATION
Copy the draft document to the published document. { permissions: ['*', 'update'], collectionName: 'storefront__TenantThemeMap' } Requires a signed-in staff user. Needs the `storefront__TenantThemeMap` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).