/services/websites/v1/themes/versions/edit
Auth
POST /api/services/websites/v1/themes/versions/edit Updates a draft theme version's marketplace metadata without changing approval status. Cannot change: source_project_id, version Can update: theme_short_description, theme_description, release_notes, category, tags, main_image, screenshots
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
version_id |
integer | Yes | Theme version project ID to edit (must be draft, non-dev) | |
theme_short_description |
string|null
max: 150 |
No | Short description shown in marketplace theme cards (max 150 chars) | |
theme_description |
string|null | No | Full theme description shown on theme detail page | |
release_notes |
string|null | No | Changelog or notes for this version | |
category |
string|null
max: 1000 |
No | Comma-separated theme categories (e.g. "business,portfolio") | |
tags |
string|null | No | Comma-separated tags for theme search and filtering | |
main_page_slug |
string|null | No | Page slug used to resolve the main preview image from preview_image meta | |
screenshot_page_slugs |
string|null | No | Comma-separated page slugs used to resolve screenshot images from preview_image meta |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string | |
data |
mixed[] |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string | |
data |
object | |
data.version |
object |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string | |
data |
mixed[] |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string | |
data |
mixed[] |
| Field | Type | Description |
|---|---|---|
message |
string | Errors overview. |
errors |
object | A detailed description of each field that failed validation. |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
Retry-After |
integer | Seconds until the rate limit resets | 60 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
curl -X POST "https://api.wemasy.nl/api/services/websites/v1/themes/versions/edit" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"version_id": 0,
"theme_short_description": "string",
"theme_description": "string",
"release_notes": "string",
"category": "string",
"tags": "string",
"main_page_slug": "string",
"screenshot_page_slugs": "string"
}'
fetch('https://api.wemasy.nl/api/services/websites/v1/themes/versions/edit', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"version_id": 0,
"theme_short_description": "string",
"theme_description": "string",
"release_notes": "string",
"category": "string",
"tags": "string",
"main_page_slug": "string",
"screenshot_page_slugs": "string"
})})
.then(r => r.json())
.then(data => console.log(data));
$response = Http::withToken('YOUR_API_TOKEN')
->accept('application/json')
->post('https://api.wemasy.nl/api/services/websites/v1/themes/versions/edit', {
"version_id": 0,
"theme_short_description": "string",
"theme_description": "string",
"release_notes": "string",
"category": "string",
"tags": "string",
"main_page_slug": "string",
"screenshot_page_slugs": "string"
});
$data = $response->json();
import requests
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
data = {
"version_id": 0,
"theme_short_description": "string",
"theme_description": "string",
"release_notes": "string",
"category": "string",
"tags": "string",
"main_page_slug": "string",
"screenshot_page_slugs": "string"
}
r = requests.post("https://api.wemasy.nl/api/services/websites/v1/themes/versions/edit", headers=headers, json=data)
print(r.json())
{
"error": false,
"message": "string",
"data": {
"version": {
"id": "string",
"version": "string",
"approval_status": "string",
"theme_status": "string"
}
}
}