Upgrade Specific Theme

🔒

Requires write_themes access scope. More access scope

The Publish Theme API upgrades a specific theme to its latest available version.

This API is especially useful for:

  1. Keeping themes updated with the latest features and security patches
  2. Managing theme version control programmatically

Request Parameters

Public Request Parameters

📘

Path Parameters

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

Body Parameters

ParameterTypeRequiredDescriptionExample
namestringNoCustom name for the upgraded theme"Summer Collection v2.1"

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring"success"Status code of the operation
messagestring"Theme upgrade initiated"Descriptive message of the response
data.theme_idstring"theme_123456789"

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!