cURL
curl -X GET "https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/discord" \
-H "Authorization: Bearer $JOIN_MARKT_API_KEY"const res = await fetch("https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/discord", {
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/discord",
headers={"Authorization": f"Bearer {os.environ['JOIN_MARKT_API_KEY']}"},
)
data = res.json(){
"storeId": "cmvuo0akc0002vdesum2w5xa1",
"configured": false,
"enabled": false,
"clientId": null,
"hasClientSecret": false,
"hasBotToken": false,
"applicationId": null,
"publicKey": null,
"connectedGuildIds": [],
"authorizedDiscordUserIds": [],
"customerRoleId": null,
"customerInviteUrl": null,
"showCheckoutLink": true,
"commandsSyncedAt": null,
"redirectUri": "http://bade.localhost:2027/discord/callback",
"buyerLinkRedirectUri": "http://bade.localhost:2027/discord/link/callback",
"interactionsUrl": "http://dash.localhost:2027/api/discord/interactions",
"inviteUrl": null,
"applicationSync": 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 Discord settings
Discord bot connection and settings.
Scope: discord:read
GET
/
api
/
merchant
/
v1
/
stores
/
{storeId}
/
discord
cURL
curl -X GET "https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/discord" \
-H "Authorization: Bearer $JOIN_MARKT_API_KEY"const res = await fetch("https://dash.joinmarkt.com/api/merchant/v1/stores/STORE_ID/discord", {
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/discord",
headers={"Authorization": f"Bearer {os.environ['JOIN_MARKT_API_KEY']}"},
)
data = res.json(){
"storeId": "cmvuo0akc0002vdesum2w5xa1",
"configured": false,
"enabled": false,
"clientId": null,
"hasClientSecret": false,
"hasBotToken": false,
"applicationId": null,
"publicKey": null,
"connectedGuildIds": [],
"authorizedDiscordUserIds": [],
"customerRoleId": null,
"customerInviteUrl": null,
"showCheckoutLink": true,
"commandsSyncedAt": null,
"redirectUri": "http://bade.localhost:2027/discord/callback",
"buyerLinkRedirectUri": "http://bade.localhost:2027/discord/link/callback",
"interactionsUrl": "http://dash.localhost:2027/api/discord/interactions",
"inviteUrl": null,
"applicationSync": 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"
}
