Storefront__save Theme Draft
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__saveThemeDraft(input: SaveThemeDraftInput!): Boolean!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).
Arguments
input*Returns
storefront__saveThemeDraft*Boolean!mutation Storefront__saveThemeDraft($input: SaveThemeDraftInput!) { storefront__saveThemeDraft(input: $input)}{ "input": { "documentJson": "string", "id": "1" }}{ "data": { "storefront__saveThemeDraft": true }}Storefront__remove Fluid Theme Version MUTATION
Prototype: delete an uploaded Fluid theme zip. { 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).
Storefront__set Live Theme MUTATION
{ 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).