cURL
curl -X POST "https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/themes/apply" \
-H "Authorization: Bearer $JOIN_MARKT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"themeId":"example themeId","themeSlug":"example themeSlug"}'const res = await fetch("https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/themes/apply", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.JOIN_MARKT_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"themeId": "example themeId",
"themeSlug": "example themeSlug"
}),
})
const data = await res.json()import os, requests
res = requests.post(
"https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/themes/apply",
headers={"Authorization": f"Bearer {os.environ['JOIN_MARKT_API_KEY']}"},
json={
"themeId": "example themeId",
"themeSlug": "example themeSlug"
},
)
data = res.json(){}{
"error": "Product not found",
"code": "NOT_FOUND"
}{
"error": "Product not found",
"code": "NOT_FOUND"
}{
"error": "Product not found",
"code": "NOT_FOUND"
}{
"error": "Product not found",
"code": "NOT_FOUND"
}Apply a theme
Install a catalog theme on the storefront. With publish: false it is saved as a draft.
Scope: theme:write
This changes real data in your store, including when you press Send here.
POST
/
api
/
merchant
/
v1
/
stores
/
{storeId}
/
themes
/
apply
cURL
curl -X POST "https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/themes/apply" \
-H "Authorization: Bearer $JOIN_MARKT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"themeId":"example themeId","themeSlug":"example themeSlug"}'const res = await fetch("https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/themes/apply", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.JOIN_MARKT_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"themeId": "example themeId",
"themeSlug": "example themeSlug"
}),
})
const data = await res.json()import os, requests
res = requests.post(
"https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/themes/apply",
headers={"Authorization": f"Bearer {os.environ['JOIN_MARKT_API_KEY']}"},
json={
"themeId": "example themeId",
"themeSlug": "example themeSlug"
},
)
data = res.json(){}{
"error": "Product not found",
"code": "NOT_FOUND"
}{
"error": "Product not found",
"code": "NOT_FOUND"
}{
"error": "Product not found",
"code": "NOT_FOUND"
}{
"error": "Product not found",
"code": "NOT_FOUND"
}Authorizations
Your Merchant API key. Create one in Dashboard → Developers → API keys.
Path Parameters
Your store id. Find it in Dashboard → Developers, or in GET /stores with MCP.
Body
application/json
Response
The applied theme.
The response is of type object.

