Swell · Arazzo Workflow
Swell Find and Cancel Active Subscription
Version 1.0.0
Locate an account's active subscription and cancel it, branching when none exists.
View Spec
View on GitHub
CommerceHeadless CommerceAPI-FirstB2CB2BSubscriptionsMarketplacesWholesaleStorefrontCheckoutPaymentsCartsOrdersCatalogInternationalizationArazzoWorkflows
Provider
Workflows
find-and-cancel-subscription
Find an account's active subscription and cancel it.
Filters subscriptions to the account with active status; on a hit it cancels the matched subscription, on a miss it ends.
1
findSubscriptionStep
listSubscriptions
List subscriptions for the account that are currently active, returning at most one.
2
cancelSubscriptionStep
cancelSubscription
Cancel the matched active subscription.