---
title: "MerchandiseDiscountClass"
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/merchandise-discount-class'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/enums/merchandise-discount-class.md'
---
# MerchandiseDiscountClass

The class of the discount for combining purposes.

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

## Type Signature

`MerchandiseDiscountClass`

## Values

* `ORDER`

  Combined as an order discount.

* `PRODUCT`

  Combined as a product discount.

* `SHIPPING`

  Combined as a shipping discount.

## Schema Definition

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

## Field from

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

  The class of the discount for combining purposes.
  
  

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

  The class of the discount for combining purposes.
  
  

* [DiscountCodeFreeShipping](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-code-free-shipping.md).discountClass

  The class of the discount for combining purposes.

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

  The class of the discount for combining purposes.

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

  The class of the discount for combining purposes.

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

  The class of the discount

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

  折扣级别	The class of the discount

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

  The class of the discount for combining purposes.

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

  The class of the discount for combining purposes.

## 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).

