---
title: "DiscountCustomerGetsValue"
description: "The type of the discount value and how it will be applied. For example,"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/unions/discount-customer-gets-value'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/unions/discount-customer-gets-value.md'
---
# DiscountCustomerGetsValue

The type of the discount value and how it will be applied. For example,

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

## Type Signature

`DiscountCustomerGetsValue`

## Possible Types

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

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

* [DiscountOnQuantity](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-on-quantity.md)

## Schema Definition

```graphql
 DiscountCustomerGetsValue { 
	 
}
```

## Field from

* [DiscountCustomerGets](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-customer-gets.md).value

  Entitled quantity and the discount value.

## Possible type of

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

  The fixed discount amount and whether it applies to each eligible item or is evenly distributed across all eligible items.

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

  The discount effect, giving customers a percentage off certain items in their order.

* [DiscountOnQuantity](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-on-quantity.md)

  The quantity of discounted items, the discount amount and how the discount is applied.

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

