cURL
curl -X DELETE "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: "DELETE",
headers: {
Authorization: `Bearer ${process.env.JOIN_MARKT_API_KEY}`,
},
})
const data = await res.json()import os, requests
res = requests.delete(
"https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/domain",
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"
}Remove the custom domain
Disconnect the domain. The store stays on its subdomain.
Scope: domain:write
This changes real data in your store, including when you press Send here.
DELETE
/
api
/
merchant
/
v1
/
stores
/
{storeId}
/
domain
cURL
curl -X DELETE "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: "DELETE",
headers: {
Authorization: `Bearer ${process.env.JOIN_MARKT_API_KEY}`,
},
})
const data = await res.json()import os, requests
res = requests.delete(
"https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/domain",
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"
}
