---
description: "Discounts are deductions in the checkout total that are generally used for marketing and promotional purposes. Learn about the available features and guides."
---

import DocCardList from '@theme/DocCardList';
import DocCard from '@theme/DocCard';
import Icons from '@theme/Icon';

# Discounts

Discounts are deductions in the checkout total that are generally used for marketing and promotional purposes. This overview introduces the available features related to discounts.

:::note

Not a developer? Check out the [Discounts user guide](../../user-guide/discounts/index.md).

:::

## Features

### Discounts Management

Admins can create discounts with various conditions and rules that can be used to deduct a fixed or percentage amount from the cart total, or that can be used for free shipping.

<DocCardList colSize={6} items={[
  {
    type: 'link',
    href: '/modules/discounts/admin/manage-discounts',
    label: 'Admin: Manage Discounts',
    customProps: {
      icon: Icons['academic-cap-solid'],
      description: 'Learn how to manage discounts using Admin APIs.'
    }
  },
  {
    type: 'link',
    href: '/user-guide/discounts/manage',
    label: 'User Guide: Manage Discounts',
    customProps: {
      icon: Icons['users-solid'],
      description: 'Learn how to manage discounts using Medusa Admin.'
    }
  },
]} />

### Applying Discounts during Checkout

Customers can benefit from discounts by using a discount code during checkout.

<DocCardList colSize={6} items={[
  {
    type: 'link',
    href: '/modules/discounts/storefront/use-discounts-in-checkout',
    label: 'Storefront: Use Discounts in Checkout',
    customProps: {
      icon: Icons['academic-cap-solid'],
      description: 'Learn how to use discounts during checkout.'
    }
  },
  {
    type: 'link',
    href: 'https://docs.medusajs.com/api/store#carts_getcartscart',
    label: 'Store APIs: Discounts',
    customProps: {
      icon: Icons['server-solid'],
      description: 'Check available Store REST APIs for Discounts with carts.'
    }
  },
]} />

---

## Understand the Architecture

Learn how discount-related entities and concepts are built, their relation to other modules, and more.

<DocCard item={{
    type: 'link',
    href: '/modules/discounts',
    label: 'Architecture: Discounts',
    customProps: {
      icon: Icons['circle-stack-solid'],
      description: 'Learn about the Discount architecture.'
    }
  }}
/>

---

## Related Modules

Discover Discount’s relation to other modules in Medusa

<DocCardList colSize={6} items={[
  {
    type: 'link',
    href: '/modules/carts-and-checkout/overview',
    label: 'Cart and Checkout',
    customProps: {
      icon: Icons['shopping-cart-solid'],
      description: 'Customers can apply discounts during checkout.'
    }
  },
  {
    type: 'link',
    href: '/modules/products/overview',
    label: 'Product',
    customProps: {
      icon: Icons['tag-solid'],
      description: 'Discounts can be associated with specific products.'
    }
  },
]} />