Apply a promotion code to a cart
One step with Optimizely. We can help you get access.
Get something done
Apply a promotion code to a cart
with Optimizely · Cart & Checkout
Use Optimizely: its Storefront API V1 Carts API lets you apply a promotion code to a cart in a single step (POST /api/v1/carts/{cartId}/promotions). capabilities.work can help you get signed up and connected.
- How do I apply a promo code to a customer's cart?
- What happens when I add a promotion code that doesn't qualify for the cart?
Say it to your AI assistant
- Apply promo code {promotionCode} to cart {cartId}.
- Add promotion code {promotionCode} to cart {cartId} for order line {orderLineId}.
For your developer
POST /api/v1/carts/{cartId}/promotions in Storefront API V1 Carts API. Full spec on APIs.io.