--- title: DiscountType - Customer API description: The type of the subscription discount. api_version: unstable api_name: customer source_url: html: https://shopify.dev/docs/api/customer/unstable/enums/discounttype md: https://shopify.dev/docs/api/customer/unstable/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/unstable/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/unstable/objects/SubscriptionDiscount#field-SubscriptionDiscount.fields.type)