cURL
curl -X POST "https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/themes/projects/{projectId}/preview" \
-H "Authorization: Bearer $JOIN_MARKT_API_KEY"const res = await fetch("https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/themes/projects/{projectId}/preview", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.JOIN_MARKT_API_KEY}`,
},
})
const data = await res.json()import os, requests
res = requests.post(
"https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/themes/projects/{projectId}/preview",
headers={"Authorization": f"Bearer {os.environ['JOIN_MARKT_API_KEY']}"},
)
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"
}{
"error": "Product not found",
"code": "NOT_FOUND"
}Preview a theme project
Build a private preview link of the draft.
Scope: theme:read
POST
/
api
/
merchant
/
v1
/
stores
/
{storeId}
/
themes
/
projects
/
{projectId}
/
preview
cURL
curl -X POST "https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/themes/projects/{projectId}/preview" \
-H "Authorization: Bearer $JOIN_MARKT_API_KEY"const res = await fetch("https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/themes/projects/{projectId}/preview", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.JOIN_MARKT_API_KEY}`,
},
})
const data = await res.json()import os, requests
res = requests.post(
"https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/themes/projects/{projectId}/preview",
headers={"Authorization": f"Bearer {os.environ['JOIN_MARKT_API_KEY']}"},
)
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"
}{
"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.
Theme project id.
Response
The preview URL.
The response is of type object.

