Ostorya dev docs

Admin API/Online store/Queries

themes

query

Returns [OnlineStoreTheme!]!

query Themes {
  themes {
    id
    name
    previewUrl
    publishedAt
    role
    settingsData
    catalog {
      name
      handle
      category
      description
      previewImageUrl
      previewUrl
    }
    templates {
      data
      template
    }
  }
}

Arguments

Returned fields

catalogThemeCatalogEntry!required
idID!required
nameString!required
previewUrlString!required
A signed link (2 hours) that shows this theme on the storefront, even unpublished. Served from the preview host (shop.ostorya.com), which finds the shop from the token.
publishedAtDateTime
roleString!required
settingsDataJSON!required
templates[OnlineStoreThemeTemplate!]!required

Arguments

names[String!]

themeHandleString!required
updatedAtDateTime!required