---
title: "DiscountAutomaticPfnt"
description: >
  An automatic discount that offers customers a price for multiple items, or fixed amount discount, on specific products, collections, or the entire 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-automatic-pfnt'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-pfnt.md'
---
# DiscountAutomaticPfnt

An automatic discount that offers customers a price for multiple items, or fixed amount discount, on specific products, collections, or the entire order.

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

## Type Signature

`DiscountAutomaticPfnt`

## Fields

* `asyncUsageCount`

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

  The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count.

* `combinesWith`

  [DiscountCombinesWith](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-combines-with.md)

  Determines which discount classes the discount can combine with.

* `createdAt`

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

  The date and time when the discount was created.

* `customerGets`

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

  The qualifying items in an order, the quantity of each one, and the total value of the discount.

* `discountClass`

  [MerchandiseDiscountClass](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/enums/merchandise-discount-class.md)

  The class of the discount for combining purposes.

* `endsAt`

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

  The date and time when the discount ends. For open-ended discounts, use null.

* `minimumRequirement`

  [DiscountMinimumRequirement](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/unions/discount-minimum-requirement.md)

  The minimum subtotal or quantity that's required for the discount to be applied.

* `shortSummary`

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

  A short summary of the discount.

* `startsAt`

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

  The date and time when the discount starts.

* `status`

  [DiscountStatus](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/enums/discount-status.md)

  The status of the discount.

* `summary`

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

  A detailed summary of the discount.

* `title`

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

  The title of the discount.

* `updatedAt`

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

  The date and time when the discount was updated.

## Schema Definition

```graphql
type DiscountAutomaticPfnt { 
	asyncUsageCount: Int
	combinesWith: DiscountCombinesWith
	createdAt: Date
	customerGets: DiscountCustomerGets
	discountClass: MerchandiseDiscountClass
	endsAt: Date
	minimumRequirement: DiscountMinimumRequirement
	shortSummary: String
	startsAt: Date
	status: DiscountStatus
	summary: String
	title: String
	updatedAt: Date 
}
```

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

