Documentation

Developers

Configuration

Sales Events

checkout.createdcheckout.updatedorder.createdsubscription.activesubscription.canceledsubscription.createdsubscription.revokedsubscription.updatedbenefit_grant.createdbenefit_grant.revokedbenefit_grant.updated

Store Events

product.createdproduct.updatedbenefit.createdbenefit.updatedorganization.updated

benefit_grant.created

Sent when a new benefit grant is created.

Discord & Slack support: Basic

Raw format payload

{
  "type": "benefit_grant.created",
  "data": {
    "created_at": "2024-12-22T00:00:00.000Z",
    "modified_at": "2024-12-22T00:00:00.000Z",
    "id": "00000000-0000-0000-0000-000000000000",
    "granted_at": "2024-12-22T00:00:00.000Z",
    "is_granted": false,
    "revoked_at": "2024-12-22T00:00:00.000Z",
    "is_revoked": false,
    "subscription_id": "00000000-0000-0000-0000-000000000000",
    "order_id": "00000000-0000-0000-0000-000000000000",
    "customer_id": "00000000-0000-0000-0000-000000000000",
    "user_id": "00000000-0000-0000-0000-000000000000",
    "benefit_id": "00000000-0000-0000-0000-000000000000",
    "properties": {
      "account_id": "string",
      "guild_id": "string",
      "role_id": "string"
    },
    "benefit": {
      "created_at": "2024-12-22T00:00:00.000Z",
      "modified_at": "2024-12-22T00:00:00.000Z",
      "id": "00000000-0000-0000-0000-000000000000",
      "type": "ads",
      "description": "string",
      "selectable": false,
      "deletable": false,
      "organization_id": "00000000-0000-0000-0000-000000000000",
      "properties": {
        "image_height": 0,
        "image_width": 0
      }
    },
    "previous_properties": {
      "account_id": "string",
      "guild_id": "string",
      "role_id": "string"
    }
  }
}