Storefront__set Live Theme
{ 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).
{ 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).
Arguments
id*ID!Returns
storefront__setLiveTheme*Boolean!mutation Storefront__setLiveTheme($id: ID!) { storefront__setLiveTheme(id: $id)}{ "id": "1"}{ "data": { "storefront__setLiveTheme": true }}Storefront__save Theme Draft MUTATION
Save the merchant's private theme JSON copy (draft). { 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).
Storefront__uninstall Theme MUTATION
Remove an installed theme copy. The live theme cannot be uninstalled. { permissions: ['*', 'delete'], collectionName: 'storefront__TenantThemeMap' } Requires a signed-in staff user. Needs the `storefront__TenantThemeMap` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).