Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Storefront__install Fluid Theme

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).

MUTATIONstorefront__installFluidTheme(fluidThemeVersionId: ID!): CommonMutationResponse!

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).

Arguments

fluidThemeVersionId*ID!

Returns

  1. storefront__installFluidTheme
_id*ID!
Example Request
mutation Storefront__installFluidTheme($fluidThemeVersionId: ID!) {  storefront__installFluidTheme(fluidThemeVersionId: $fluidThemeVersionId) {    _id  }}
Variables
{  "fluidThemeVersionId": "1"}
Example Response
{  "data": {    "storefront__installFluidTheme": {      "_id": "1"    }  }}