Download Theme

🔒

Requires read_themes access scope. More access scope

The Download Theme API allows users to download a theme file in binary format (ZIP). This enables users to programmatically retrieve the theme for offline storage or further processing.

This API is especially useful for:

  1. Backing up themes for recovery or archival purposes.
  2. Programmatically managing themes in external systems.
  3. Exporting themes for customization or testing.

Request Parameters

Public Request Parameters

📘

Public Request Parameters

Path Parameters

NameTypeDescriptionExample
theme_idstringRequired. The ID of the theme to download.1500021b-88ed-4750-bbc5-97ec98351dc0

Response Explanation

Public Response Parameters

📘

Public Response Parameters

Successful Response

FieldTypeDescriptionExample
Binary ContentbinaryThe theme file in ZIP format.N/A

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
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!