OrderWorkflow Steps
Subscription Steps
Workflow steps for managing subscriptions and recurring orders.
Overview
Subscription steps manage the creation and maintenance of customer subscriptions for recurring orders. They handle both initial subscription creation and order replacement when subscription orders are cancelled.
Available Steps
| Step | Key | Description |
|---|---|---|
| Create Subscriptions | CreateSubscriptions | Create subscriptions from subscription products |
| Create Replacement Subscription Orders | CreateReplacementSubscriptionOrders | Replace cancelled subscription orders |
Common Use Cases
Subscription Creation
Create subscriptions when orders with subscription products are placed:
Cancellation Handling
Ensure subscriptions continue when individual orders are cancelled:
Subscription Lifecycle
- Order Placed: Customer orders a subscription product
- Subscription Created:
CreateSubscriptionscreates the subscription record - Recurring Orders: System generates pending orders based on subscription schedule
- Order Cancelled: If a pending order is cancelled,
CreateReplacementSubscriptionOrderscreates a new one - Subscription Ends: When subscription is cancelled by customer or expires
Configuration
Subscriptions require:
- Product Type: Products must be marked with a subscription product type
- Subscription Service: Backend service to manage subscription records
- Schedule Configuration: Delivery frequency and timing settings
