WEBHOOK
entitlements.updated
{
  "messageId": "a6ce...",
  "traceId": "549a...",
  "type": "entitlements.updated",
  "trigger": "subscription_updated",
  "customer": {
    "id": "customer-demo-01",
    "name": "John Doe",
    "email": "john@example.com",
    "billingId": "cus_Lh48hfXd3j3PmN"
  },
  "entitlements": [
    {
      "feature": {
        "id": "feature-01-stores",
        "name": "Stores",
        "description": "",
        "featureType": "NUMBER",
        "meterType": "FLUCTUATING",
        "unit": "Store",
        "units": "Stores",
        "status": "NEW"
      },
      "usageLimit": 5,
      "hasUnlimitedUsage": false,
      "usagePeriodAnchor": null,
      "usagePeriodStart": null,
      "usagePeriodEnd": null,
      "resetPeriod": null,
      "resetPeriodConfiguration": null,
      "resourceId": "store-456"
    }
  ],
  "environmentId": "4de6a488-3f10-4666-b61a-ab814bd85ec4",
  "entitlementsUpdatedAt": "2024-07-02T08:06:16.569Z"
}

Body

application/json