{
"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"
}
}Plans
Plan updated new version published
Fired when a new version of a plan is published. Update pricing, entitlements, and surfaces that depend on plan metadata.
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
Event type discriminator.
Allowed value:
"plan.updated"Unique ID of this webhook message.
Correlation ID for tracing across systems.
Unique identifier of the plan in Stigg.
Human-readable plan name.
Optional plan description.
ID of the product this plan belongs to.
Publication status of the plan (e.g., PUBLISHED).
Whether this version is the latest.
Monotonic version number for the plan.
Entitlements included with the plan.
Show child attributes
Show child attributes
Pricing configurations for the plan.
Show child attributes
Show child attributes
Arbitrary key-value metadata attached to the plan.
