cURL
curl -X GET "https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/domain" \
-H "Authorization: Bearer $JOIN_MARKT_API_KEY"const res = await fetch("https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/domain", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.JOIN_MARKT_API_KEY}`,
},
})
const data = await res.json()import os, requests
res = requests.get(
"https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/domain",
headers={"Authorization": f"Bearer {os.environ['JOIN_MARKT_API_KEY']}"},
)
data = res.json(){
"subdomain": "bade",
"subdomainUrl": "http://bade.localhost:2027",
"customDomain": null,
"customDomainStatus": null,
"customDomainVerifiedAt": null,
"primaryUrl": "http://bade.localhost:2027",
"cnameTarget": "stores.joinmarkt.com",
"verificationHost": null,
"dnsInstructions": [],
"cloudflareSaaSConfigured": true,
"cloudflareHostnameStatus": null,
"cloudflareSslStatus": null
}{
"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"
}Get the custom domain
The connected domain and its DNS status.
Scope: domain:read
GET
/
api
/
merchant
/
v1
/
stores
/
{storeId}
/
domain
cURL
curl -X GET "https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/domain" \
-H "Authorization: Bearer $JOIN_MARKT_API_KEY"const res = await fetch("https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/domain", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.JOIN_MARKT_API_KEY}`,
},
})
const data = await res.json()import os, requests
res = requests.get(
"https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/domain",
headers={"Authorization": f"Bearer {os.environ['JOIN_MARKT_API_KEY']}"},
)
data = res.json(){
"subdomain": "bade",
"subdomainUrl": "http://bade.localhost:2027",
"customDomain": null,
"customDomainStatus": null,
"customDomainVerifiedAt": null,
"primaryUrl": "http://bade.localhost:2027",
"cnameTarget": "stores.joinmarkt.com",
"verificationHost": null,
"dnsInstructions": [],
"cloudflareSaaSConfigured": true,
"cloudflareHostnameStatus": null,
"cloudflareSslStatus": null
}{
"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.
Response
The domain and the DNS records to add.
The response is of type object.

