Swell · Arazzo Workflow
Swell Create Cart and Apply Coupon
Version 1.0.0
Create a backend cart with items and apply a coupon code to it.
View Spec
View on GitHub
CommerceHeadless CommerceAPI-FirstB2CB2BSubscriptionsMarketplacesWholesaleStorefrontCheckoutPaymentsCartsOrdersCatalogInternationalizationArazzoWorkflows
Provider
Workflows
create-cart-and-apply-coupon
Create a cart with items, then apply a coupon code.
Posts a cart with line items, then updates the cart to set a coupon code.
1
createCartStep
createCart
Create a cart for the account with the supplied line items.
2
applyCouponStep
updateCart
Update the cart to set the coupon code so the discount applies.