---
title: "DiscountClass"
description: "The class of the discount for combining purposes."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/enums/discount-class'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/enums/discount-class.md'
---
# DiscountClass

The class of the discount for combining purposes.

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Enum

## Type Signature

`DiscountClass`

## Values

* `ORDER`

  Combined as an order discount.
  

* `PRODUCT`

  Combined as a product discount.

* `SHIPPING`

  Combined as a shipping discount.

## Schema Definition

```graphql
enum DiscountClass { 
	ORDER 
	PRODUCT 
	SHIPPING  
}
```

## Field from

* [DiscountAutomaticApp](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-app.md).discountClass

  The class of the discount for combining purposes.

* [AppDiscountType](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/app-discount-type.md).discountClass

  The class of the app discount type.
  
  

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

