---
title: "DiscountPercentage"
description: >
  The discount effect, giving customers a percentage off certain items in their order.
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-percentage'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-percentage.md'
---
# DiscountPercentage

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

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

## Type Signature

`DiscountPercentage`

## Fields

* `percentage`

  [Float](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/float.md)

  The percentage value of the discount.

## Schema Definition

```graphql
type DiscountPercentage { 
	percentage: Float 
}
```

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

