get https://{shopdomain}.myshoplaza.com/openapi/2022-01/themes/default-theme
Requires
read_themes
access scope. More access scope
The Get Default Theme API retrieves the default theme associated with the store. This provides information about the pre-configured theme that comes with the store.
This API is especially useful for:
- Retrieving default theme settings for newly created stores.
- Programmatically understanding and customizing the default theme.
Request Parameters
Public Request Parameters
Response Explanation
Public Response Parameters
Successful Response
Field | Type | Description | Example |
---|---|---|---|
id | string | The unique ID of the theme. | faf55ad1-03aa-4071-b250-e8507c022b19 |
name | string | The name of the default theme. | Nova 2023 |
locale | string | The default locale of the theme. | en-US |
preset | string | The preset configuration of the theme. | Default |
type | string | The type of the theme. | shoplazza |
desc | string | Description of the theme, including its features. | Simple and atmospheric design... |
default | string | Indicates whether the theme is set as the default (1 for yes, 0 for no). | 1 |
pc_cover_url | string | URL of the desktop preview image of the theme. | https://img.staticdj.com/...png |
mobile_cover_url | string | URL of the mobile preview image of the theme. | https://img.staticdj.com/...png |
published | string | Indicates whether the theme is published (1 for yes, 0 for no). | 1 |
version | string | The version number of the theme. | 24.65.0 |
change_log | string | Changelog information for the theme. | "" |
auto_save_time | string | Timestamp for the last auto-save of the theme. | 1731686668 |
theme_save_time | string | Timestamp for the last save of the theme. | 1731886066 |
publish_time | string | Timestamp for the last publish action of the theme. | 1731886068 |
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.
Field | Type | Example | Description |
---|---|---|---|
error | String | "store is not active" | Indicates an error encountered during the process |
Error Detail
Status Code | Message | Possible Reason | Example Response |
---|---|---|---|
400 | Bad Request | Invalid input format or request structure (e.g., missing required fields or incorrect data types). | Bad Request |
Unauthorized | The request is missing valid authentication credentials or the credentials provided are invalid. | Unauthorized |