Skip to main content
Log inSign up

Add new theme-related fields to TranslatableResourceType enum

As of API version 2024-10, you can use these new fields to TranslatableResourceType that are related to the online store theme: ONLINE_STORE_THEME_JSON_TEMPLATE, ONLINE_STORE_THEME_SECTION_GROUP, ONLINE_STORE_THEME_APP_EMBED, ONLINE_STORE_THEME_LOCALE_CONTENT, ONLINE_STORE_THEME_SETTINGS_CATEGORY and ONLINE_STORE_THEME_SETTINGS_DATA_SECTIONS

Together, these new types will cover the translatable content and translations within the existing ONLINE_STORE_THEME enum type and offer more granularity with respect to the returned data. They are introduced with the intent of reducing the use of ONLINE_STORE_THEME type in the future, so that we do not return the entirety of a theme's content when it is not needed.

We are also introducing a nestedTranslatableResources connection under TranslatableResource object. When used with a ONLINE_STORE_THEME type TranslatableResource, the theme resources that belong to this particular theme are exposed. -->

Was this section helpful?