Frontend API
Methods to retrieve promotions applied to the cart.
Active promotions are automatically applied to carts. Retrieve the cart object attached to the current session to see what promotions have been applied.
The promotions field will include details like name, description, and datePeriod.
Get promotions
await swell.cart.get()