Get Theme List

🔒

Requires read_themes access scope. More access scope

The Get Theme List API retrieves a list of all themes available for a specific shop, including their details such as version, locale, and status.

This API is especially useful for:

  1. Fetching all available themes for a shop.
  2. Managing and verifying the themes' versions and statuses.
  3. Identifying published and unpublished themes.

Request Parameters

Public Request Parameters

📘

Public Request Parameters

Response Explanation

Public Response Parameters

📘

Public Response Parameters

Successful Response

NameTypeExampleDescription
countstring2Total number of themes available.
themesarrayArray of theme objects.
themes.idstring4fe3e348-eefd-4f55-aa13-9f123a2c984bTheme's unique identifier.
themes.namestringNova-2023-mainTheme name.
themes.localestringen-USTheme locale.
themes.c_versionstring1.0.0Client version.
themes.publishedstring0Whether the theme is published (0 or 1).
themes.updated_atstring1714461023Timestamp of the last update.

Error Response

Error responses in the API can be represented using two different fields: errors and error. Both fields provide details about issues encountered during request processing. Below is an explanation of the fields with their respective examples and descriptions.

FieldTypeExampleDescription
errorsArray[ "file number error"]A list of errors encountered during the request processing.
FieldTypeExampleDescription
errorString "store is not active"Indicates an error encountered during the process

Error Detail

Status CodeMessagePossible ReasonExample Response
400Bad RequestInvalid input format or request structure (e.g., missing required fields or incorrect data types).Bad Request
UnauthorizedThe request is missing valid authentication credentials or the credentials provided are invalid.Unauthorized

API Structure Overview

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