Theme
The Theme module makes theme management more efficient and effective. It allows you to view all theme pages, obtain details about specific theme pages, check the current app theme, and preview and test themes before applying them live.
Oversee the extension sections in your application through the CLI. This includes obtaining draft extension sections, publishing extension sections, retrieving sections of extensions, and more.
Get extension sections
getExtensionSections
Global Sections Management API provides comprehensive tools for managing global sections within themes. These APIs enable platform users to create draft versions from approved global sections, allowing for safe editing and testing of global components that appear across multiple pages. The APIs handle concurrent access, draft creation, and status management to ensure consistency and reliability in theme global section workflows. This functionality is essential for managing global elements like headers, footers, navigation bars, and other shared components that need to maintain consistency across an entire application while allowing for controlled updates and modifications through a draft-approval process.
Create draft from approved global section
createDraftFromApprovedSection
List global sections for a theme
listGlobalSections
Update global section status (approve/reject)
updateGlobalSectionStatus
Acquire lock for a global section
acquireGlobalSectionLock
Get lock info for a global section
getGlobalSectionLockInfo
Release lock for a global section
releaseGlobalSectionLock
Page Mapper is a feature which enables to dynamically set different page content on a single slug based on various attributes such as user, schedule and theme zones
Get Page Mapper Configuration
getPageMapperConfig
Update Page Mapper Configuration
updatePageMapperConfig
Theme API provides a comprehensive set of tools to efficiently manage assets and global configurations for web themes. With these APIs, developers can seamlessly handle essential asset details such as JavaScript (JS) and CSS bundle URLs, along with image URLs, crucial for creating visually appealing themes. Moreover, the APIs empower sales channel users to contribute by adding data for global configurations, including color palettes and other theme global settings.
List theme fonts
getFontsV2
Update theme name
updateThemeName
Get Create theme
createTheme
Get applied theme
getAppliedTheme
Get latest version of theme by slug.
getLatestVersionOfThemeBySlug
Theme Pages API is a tool for developers to efficiently create dynamic and customizable web pages across various platforms. It offers essential features such as section filtering based on criteria like delivery zones, time scheduler, and type of platforms, it enables developers to configure reusable sections with multiple elements using blocks, fostering creativity and flexibility in design. Moreover, it provides functionality for managing the SEO content of a page. For instance, developers can easily design a homepage with a featured products section and a promotional banner, customizing the content and layout as needed. They can implement filtering based on delivery zones and time scheduler to cater to specific audiences effectively. Ultimately, the UI Theme Pages API empowers developers to craft engaging and optimized user experiences that resonate across platforms.