Themes REST Endpoints
Admin/Themes
Theme Endpoints. See Customize Your Store's Design Theme for more information on themes.
- Clone a theme by ID
- Method: postPath:
/ccadmin/v1/themes/{id}/clone
- Compile Agent Theme.
- Method: postPath:
/ccadmin/v1/themes/compileAgentTheme
- Compile theme for asset.
- Method: postPath:
/ccadmin/v1/themes/compile
- Compile theme.
- Method: postPath:
/ccadmin/v1/themes/{id}/compile
- Compiles a Block of Less Code.
- Method: postPath:
/ccadmin/v1/themes/compileLess
- Deletes a theme by its ID
- Method: deletePath:
/ccadmin/v1/themes/{id}
- Link an image to a theme section.
- Method: postPath:
/ccadmin/v1/themes/themeImagePath
- Parse theme.
- Method: getPath:
/ccadmin/v1/themes/parse
- Recompile active theme.
- Method: postPath:
/ccadmin/v1/themes/recompileActive
- Restore a theme's source by ID
- Method: putPath:
/ccadmin/v1/themes/{id}/restoreSource
- Retrieve a theme by ID
- Method: getPath:
/ccadmin/v1/themes/{id}
- Retrieve a theme's source by ID
- Method: getPath:
/ccadmin/v1/themes/{id}/source
- Retrieve an active theme
- Method: getPath:
/ccadmin/v1/themes/active
- Retrieve the Agent theme source
- Method: getPath:
/ccadmin/v1/themes/agentThemeSource
- Retrieve the compilation settings for themes
- Method: getPath:
/ccadmin/v1/themes/compilationSettings
- Retrieve themes
- Method: getPath:
/ccadmin/v1/themes
- Retrieves the Agent theme
- Method: getPath:
/ccadmin/v1/themes/agentThemeDetails
- Set theme as the active agent theme.
- Method: postPath:
/ccadmin/v1/themes/{id}/setAsAgentTheme
- Sets a particular these as active.
- Method: postPath:
/ccadmin/v1/themes/{id}/active
- Update a theme by its ID
- Method: putPath:
/ccadmin/v1/themes/{id}/
- Update a theme image
- Method: putPath:
/ccadmin/v1/themes/{id}/image
- Update a theme's source by its ID
- Method: putPath:
/ccadmin/v1/themes/{id}/source
- Update the Agent theme
- Method: putPath:
/ccadmin/v1/themes/agentThemeDetails
- Update the Agent theme source
- Method: putPath:
/ccadmin/v1/themes/agentThemeSource
- Update the compilation settings for themes
- Method: putPath:
/ccadmin/v1/themes/compilationSettings