Get Theme Details

Retrieve details of a specific theme using its unique identifier.

🔒

Requires read_themes access scope. More access scope

The Get Theme API retrieves detailed information about a specific theme by its unique ID. This API is particularly useful for managing and verifying theme details, such as version, description, and configuration.

This API is especially useful for:

  1. Fetching the details of a specific theme.
  2. Verifying theme configurations and versions.
  3. Managing themes programmatically for a store.

Request Parameters

Public Request Parameters

📘

Path Parameters

ParameterTypeRequiredExampleDescription
theme_idstringYes1500021b-88ed-4750-bbc5-97ec98351dc0Theme's unique identifier.

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring"success"Status code of the response
messagestring"OK"Descriptive message of the response
data.themeobjectArray of theme objects

Theme Object Parameters

ParameterTypeExampleDescription
idstring"theme_123"Theme's unique identifier
namestring"Summer Collection"Theme name
merchant_theme_idstring"mth_456"Merchant theme ID
merchant_theme_namestring"Premium Theme"Merchant theme name
merchant_theme_infostring"v2.1.0"Theme version identifier
localestring"en-US"Theme locale
presetstring"modern"Theme style preset
typestring"shoplazza"Theme type (shoplazza or developer)
descstring"Summer collection theme"Multi-language description
defaultstring"1"Whether default theme (0 or 1)
pc_cover_urlstring"https://example.com/pc"PC cover image URL
mobile_cover_urlstring"https://example.com/mobileMobile cover image URL
publishedstring"1"Whether theme is published (0 or 1)
is_auto_upgradestring"0"Whether auto-upgraded (0 or 1)
statusstring"active"Theme status
updated_atstring"2025-01-01T00:00:00Z"Last update timestamp
publish_timestring"2025-01-01T00:00:00Z"Publish timestamp
auto_save_timestring"2025-01-01T00:00:00Z"Auto-save time
theme_save_timestring"2025-01-01T00:00:00Z"Last manual save time
versionstring"2.1.0"Current theme version
c_versionstring"2.0.1"Current client version
change_logstring"Bug fixes"Theme changelog
version_publish_timestring"2025-01-01T00:00:00Z"Version publishing time
newest_c_versionstring"2.0.2"Newest available client version
has_newest_versionbooleantrueWhether has newest version
has_draftbooleanfalseWhether has unpublished changes
theme_version_idstring"tvi_789"Theme version ID

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!