Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Avelero/avelero/llms.txt
Use this file to discover all available pages before exploring further.
Get theme
Retrieve the complete theme configuration (styles and content) for the active brand.Response
Complete theme styles configuration including colors, typography, and component styling
Theme content configuration including branding, menus, CTAs, and section visibility
Google Fonts URL for loading custom fonts, if configured
ISO 8601 timestamp of last theme update
Default values
If no theme is configured, returns:Update theme config
Update the theme content configuration (menus, banner, social links, section visibility, carousel settings).This endpoint updates content configuration only, not theme styles. Image URLs in the config are automatically normalized to storage paths.
Input parameters
Theme configuration object (stored as JSONB)Note: Validation is performed client-side. The API accepts any object structure.
Behavior
- Image path normalization: URLs in the config are converted to storage paths before saving
- Cache revalidation: All Digital Product Passport pages for the brand are revalidated (fire-and-forget)
- Validation failures: Revalidation errors don’t affect the response—config update succeeds regardless
Errors
500 Internal Server Error: Failed to update theme config
Theme config structure
Complete structure of theThemeConfig object:
Branding
URL or storage path for the header logo image
Menus
Primary navigation menu itemsEach item contains:
label(string) - Menu item texturl(string) - Link destination
Secondary navigation menu itemsSame structure as primary menu
CTA banner
Background image URL for the CTA banner
Main headline text for the banner
Subheadline text for the banner
Call-to-action button text
Call-to-action button URL
Toggle headline visibilityDefault:
trueToggle subline visibilityDefault:
trueToggle CTA button visibilityDefault:
trueSocial links
Show Instagram icon in footerDefault:
falseShow Facebook icon in footerDefault:
falseShow Twitter/X icon in footerDefault:
falseShow Pinterest icon in footerDefault:
falseShow TikTok icon in footerDefault:
falseShow LinkedIn icon in footerDefault:
falseInstagram profile URL
Facebook page URL
Twitter/X profile URL
Pinterest profile URL
TikTok profile URL
LinkedIn company page URL
Section visibility
Show product details section on DPPDefault:
trueShow primary navigation menuDefault:
falseShow secondary navigation menuDefault:
falseShow environmental impact sectionDefault:
trueShow materials composition sectionDefault:
trueShow product journey/traceability sectionDefault:
trueShow similar products carouselDefault:
falseShow CTA banner sectionDefault:
falseMaterials section
Show check icon next to certified materialsDefault:
trueCarousel configuration
Number of products to display in carouselDefault:
4Display product prices in carouselDefault:
trueDisplay product titles in carouselDefault:
trueRound prices to nearest whole numberDefault:
trueFilterState structure for selecting which products to showOptional - Applies product filters to carousel selection
Array of product UUIDs to include in carouselOptional - Explicitly include specific products
Array of product UUIDs to exclude from carouselOptional - Explicitly exclude specific products