Discussions

Ask a Question
Back to All

End point to apply a promo code to cart

Hello!

Is there a way to directly apply a promo code to the cart via the APIs without having to read the cart, add the discount and modify the pricing to reflect the new price? Something as easy as saying 'apply promo code XYZ-20' to the user's cart and then the pricing is re-calculated automatically?

Thanks,

Harsh