---
title: DiscountType - Customer API
description: The type of the subscription discount.
api_version: 2026-04
source_url:
  html: https://shopify.dev/docs/api/customer/latest/enums/discounttype
  md: https://shopify.dev/docs/api/customer/latest/enums/discounttype.md
---

# Discount​Type

enum

The type of the subscription discount.

## Valid values

* AUTOMATIC\_​DISCOUNT

  Automatic discount type.

* CODE\_​DISCOUNT

  Code discount type.

* MANUAL

  Manual discount type.

***

## Fields

* [Subscription​Discount.type](https://shopify.dev/docs/api/customer/latest/objects/SubscriptionDiscount#field-SubscriptionDiscount.fields.type)

  OBJECT

  A discount applied to a subscription contract.

***

## Map

### Fields with this enum

* [Subscription​Discount.type](https://shopify.dev/docs/api/customer/latest/objects/SubscriptionDiscount#field-SubscriptionDiscount.fields.type)