post
https://{subdomain}.myshoplaza.com/openapi/2025-06/themes//upgrade
Requireswrite_themesaccess scope. More access scope
The Publish Theme API upgrades a specific theme to its latest available version.
This API is especially useful for:
- Keeping themes updated with the latest features and security patches
- Managing theme version control programmatically
Request Parameters
Public Request Parameters
Path Parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
theme_id | string | Yes | 1500021b-88ed-4750-bbc5-97ec98351dc0 | Theme's unique identifier. |
Body Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
name | string | No | Custom name for the upgraded theme | "Summer Collection v2.1" |
Response Explanation
Public Response Parameters
Successful Response
| Parameter | Type | Example | Description |
|---|---|---|---|
code | string | "success" | Status code of the operation |
message | string | "Theme upgrade initiated" | Descriptive message of the response |
data.theme_id | string | "theme_123456789" |
Error Response
| Field | Type | Example | Description |
|---|---|---|---|
code | string | InvalidParameter | Error http message |
message | string | `` | Error message |
