{
"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"
}
}Plans
Plan created
Fired when a new plan is created. Sync plan catalogs and prices.
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
Event type discriminator.
Allowed value:
"plan.created"Unique ID of this webhook message.
Correlation ID for tracing across systems.
Unique plan identifier in Stigg.
Human-readable plan name.
Optional plan description.
Product identifier the plan belongs to.
Publication status of the plan (e.g.
Whether this version is the latest.
Monotonic plan version number.
Entitlements bundled with the plan.
Show child attributes
Show child attributes
List of price points for the plan.
Show child attributes
Show child attributes
Arbitrary key-value metadata for the plan.
