Repository navigation
Document customerId on the plan cancellation request billing context - #825
Conversation
…text Cancellation workflows can now identify the billing customer, so the sample event includes customerId alongside agreementId.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughThe plan cancellation workflow example updates its ChangesPlan cancellation workflow example
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to The example can proceed through normal checks. Whether both cancellation paths populate the field remains unverified, but no concrete incompatibility has been established. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit reads the billing note, Comment |
Deploying kinde-docs-preview with
|
| Latest commit: |
e28efb4
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://bab137b5.kinde-docs-preview.pages.dev |
| Branch Preview URL: | https://docs-plan-cancellation-custo.kinde-docs-preview.pages.dev |
Summary
The plan cancellation request workflow event now exposes the billing customer on
context.billing. This page is the only docs source that shows that object, so the sample event is updated to includecustomerIdimmediately afteragreementId.Workflow authors can use
customerId(formatcustomer_xxxxx, for examplecustomer_019e3e6346421b0df4dec6c4756b4953) to identify the billing customer when a cancellation is requested from the self-serve portal or the Kinde Management API. It is distinct from the subscriptionagreementId.Changes
src/content/docs/workflows/example-workflows/plan-cancellation-request-workflow.mdxcustomerIdto the samplebillingobject, with a comment that it is the billing customer identifier.updateddate to2026-10-08.No other page documents this billing object. The plan selection workflow uses a different
billingshape (currentPlanCode,requestedPlanCode) and was left unchanged. The cancellation eligibility tutorial only readscurrentPlanCodeand does not list the object.Database
No database changes.
Summary by CodeRabbit