# Dynamically update discounts

Learn how to apply and modify discount codes during checkout.

Dynamic discounts is in private preview. This feature allows you to dynamically update discounts in an Elements with Checkout Sessions API integration.

### Dynamic discounts

Enter your email to request access.

```bash
curl https://docs.stripe.com/preview/register \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Referer: https://docs.stripe.com/payments/advanced/dynamically-update-discounts" \
  -d '{"email": "EMAIL", "preview": "checkout_beta_preview"}'
```
