PUT /self/{shopId}/products/bulk/update/discord-integration

PUT /self/{shopId}/products/bulk/update/discord-integration

Path parameters

Body

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"
    ]
  }
}