Template Sections
Themes
Template Sections
Manage sections within page templates
GET
Template Sections
Documentation Index
Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt
Use this file to discover all available pages before exploring further.
Template Sections
Manage sections (modular content blocks) within page templates.Get Template Sections
List all sections in a template with their settings.Request
Path Parameters
The theme ID
Template name (e.g.,
index, product, collection, page, cart)Response
Update Section Settings
Update settings for a specific section.Request
Body Parameters
Template containing the section (e.g.,
index, product)Section settings to update
Response
Add Section
Add a new section to a template.Request
Body Parameters
Section type to add (must exist in theme’s sections folder)
Position in template order (0-indexed). Defaults to end.
Response
Delete Section
Remove a section from a template.Request
Query Parameters
Template containing the section
Response
Common Section Types
| Section Type | Description |
|---|---|
image-banner | Hero banner with image and text |
featured-collection | Product grid from collection |
rich-text | Text content block |
image-with-text | Side-by-side image and text |
slideshow | Image carousel |
video | Embedded video |
newsletter | Email signup form |
contact-form | Contact form |
multicolumn | Multiple columns of content |
collage | Image collage layout |
collection-list | Grid of collection cards |
Error Codes
| Code | Description |
|---|---|
UNAUTHORIZED | Invalid or missing access token |
FORBIDDEN | App doesn’t have write_themes scope |
NOT_FOUND | Theme, template, or section not found |
INVALID_SECTION_TYPE | Section type doesn’t exist in theme |
MAX_SECTIONS_EXCEEDED | Template has reached section limit |