PUT /self/{shopId}/products/bulk/update/discord-integration
Body
-
productIds array[integer(int64)] | null
PUT /self/{shopId}/products/bulk/update/discord-integration
curl \
-X PUT https://dev.sellpass.io/self/{shopId}/products/bulk/update/discord-integration \
-H "Authorization: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"productIds":[42],"discordSocialConnectSettings":{"enabled":true,"required":true,"guildId":"string","roleIds":["string"]}}'
Request example
{
"productIds": [
42
],
"discordSocialConnectSettings": {
"enabled": true,
"required": true,
"guildId": "string",
"roleIds": [
"string"
]
}
}
Request examples
{
"productIds": [
42
],
"discordSocialConnectSettings": {
"enabled": true,
"required": true,
"guildId": "string",
"roleIds": [
"string"
]
}
}