Documentation

benefit_grant.updated

Sent when a new benefit grant is updated.

Discord & Slack support: Basic

Raw format payload

{
  "type": "benefit_grant.updated",
  "data": {
    "created_at": "2024-11-13T00:00:00.000Z",
    "modified_at": "2024-11-13T00:00:00.000Z",
    "id": "00000000-0000-0000-0000-000000000000",
    "granted_at": "2024-11-13T00:00:00.000Z",
    "is_granted": false,
    "revoked_at": "2024-11-13T00:00:00.000Z",
    "is_revoked": false,
    "subscription_id": "00000000-0000-0000-0000-000000000000",
    "order_id": "00000000-0000-0000-0000-000000000000",
    "user_id": "00000000-0000-0000-0000-000000000000",
    "benefit_id": "00000000-0000-0000-0000-000000000000",
    "properties": {
      "guild_id": "string",
      "role_id": "string",
      "account_id": "string"
    },
    "benefit": {
      "created_at": "2024-11-13T00:00:00.000Z",
      "modified_at": "2024-11-13T00:00:00.000Z",
      "id": "00000000-0000-0000-0000-000000000000",
      "type": "articles",
      "description": "string",
      "selectable": false,
      "deletable": false,
      "organization_id": "00000000-0000-0000-0000-000000000000",
      "properties": {
        "paid_articles": false
      }
    },
    "previous_properties": {
      "guild_id": "string",
      "role_id": "string",
      "account_id": "string"
    }
  }
}