WEBHOOK
plan.updated
{
  "type": "plan.updated",
  "messageId": "a6ce...",
  "traceId": "549a...",
  "id": "plan-test-id",
  "name": "plan-test-name",
  "description": "plan test description",
  "productId": "product-test-id",
  "status": "PUBLISHED",
  "isLatest": true,
  "version": 7,
  "packageEntitlements": [
    {
      "feature": {
        "id": "feature-analytics",
        "name": "feature-test",
        "description": "feature description here",
        "featureType": "BOOLEAN",
        "meterType": "INCREMENTAL",
        "unit": "seat",
        "units": "seats",
        "status": "ACTIVE"
      },
      "hasUnlimitedUsage": false,
      "usageLimit": 100
    }
  ],
  "prices": [
    {
      "billingModel": "FLAT_FEE",
      "billingPeriod": "MONTHLY",
      "amount": 50,
      "currency": "ils",
      "billingCountryCode": "il"
    }
  ],
  "metadata": {
    "testKey": "example value"
  }
}

Body

application/json
type
string

Event type discriminator.

Allowed value: "plan.updated"
messageId
string

Unique ID of this webhook message.

traceId
string

Correlation ID for tracing across systems.

id
string

Unique identifier of the plan in Stigg.

name
string

Human-readable plan name.

description
string | null

Optional plan description.

productId
string

ID of the product this plan belongs to.

status
string

Publication status of the plan (e.g., PUBLISHED).

isLatest
boolean

Whether this version is the latest.

version
number

Monotonic version number for the plan.

packageEntitlements
object[]

Entitlements included with the plan.

prices
object[]

Pricing configurations for the plan.

metadata
object

Arbitrary key-value metadata attached to the plan.