Swell · Arazzo Workflow
Swell Storefront Validate and Apply Coupon
Version 1.0.0
Validate a coupon code, then apply it to the session cart only when it is valid.
View Spec
View on GitHub
CommerceHeadless CommerceAPI-FirstConsumerB2BSubscriptionMarketplaceWholesaleStorefrontCheckoutPaymentsCartOrderCatalogInternationalizationArazzoWorkflows
Provider
Workflows
storefront-validate-and-apply-coupon
Validate a coupon code, then apply it to the cart when valid.
Gets coupon validity by code; on a valid coupon it applies the code to the session cart, otherwise it ends.
1
validateCouponStep
Validate the coupon code before applying it.
2
applyCouponStep
Apply the validated coupon code to the current session cart.
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.