Observable Events in Subscriptions
Overview
Observable events allow you to integrate Subscriptions with external systems like ERP, fulfillment, and CRM platforms. When specific actions occur within Subscriptions (such as address updates or status changes), these events can trigger custom functions to perform additional processing or update external systems.
Event Processing Behavior
- Events are processed concurrently and may not be delivered in chronological order
- Events follow an "at least once" delivery policy
- Target delivery time is within 30 minutes
- Integration code should be designed to handle out-of-order and duplicate events
For detailed information about integration options, see Integration Types.
Available Events
Subscription Management
Resource | Actions | Observable Keys |
---|---|---|
Subscription | • Created • Create-failed • Paused • Canceled • Pending-cancel • Pending-pause • Resumed • Closed | subscription.created subscription.create-failed subscription.paused subscription.canceled subscription.pending_cancel subscription.pending_pause subscription.resumed subscription.closed |
Subscriber | • Created • Updated • Deleted | subscription-subscriber.created subscription-subscriber.updated subscription-subscriber.deleted |
Product Configuration
Resource | Actions | Observable Keys |
---|---|---|
Product | • Created • Updated • Deleted | subscription-product.created subscription-product.updated subscription-product.deleted |
Plan | • Created • Updated • Deleted | subscription-plan.created subscription-plan.updated subscription-plan.deleted |
Offering | • Created • Updated • Deleted | subscription-offering.created subscription-offering.updated subscription-offering.deleted |
Operations
Resource | Actions | Observable Keys |
---|---|---|
Job | • Created • Updated • Deleted | subscription-job.created subscription-job.updated subscription-job.deleted |
Invoices | • Created • Deleted | subscription-invoice.created subscription-invoice.deleted |
Schedule | • Created • Updated • Deleted | subscription-schedule.created subscription-schedule.updated subscription-schedule.deleted |
Note: All events are available at the Store level.