WEBHOOK
plan.created
{
  "type": "plan.created",
  "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.created"
messageId
string

Unique ID of this webhook message.

traceId
string

Correlation ID for tracing across systems.

id
string

Unique plan identifier in Stigg.

name
string

Human-readable plan name.

description
string | null

Optional plan description.

productId
string

Product identifier the plan belongs to.

status
string

Publication status of the plan (e.g.

isLatest
boolean

Whether this version is the latest.

version
number

Monotonic plan version number.

packageEntitlements
object[]

Entitlements bundled with the plan.

prices
object[]

List of price points for the plan.

metadata
object

Arbitrary key-value metadata for the plan.