---
title: "DiscountAutomaticDoliInput"
description: >
  The input data used to create or update Discount on the lowest-priced item(DOLI) discount.
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-automatic-doli-input'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-automatic-doli-input.md'
---
# DiscountAutomaticDoliInput

The input data used to create or update Discount on the lowest-priced item(DOLI) discount.

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

## Input Fields

* `startsAt`

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

  The time when the discount starts.

* `title`

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

  The title of the discount.

* `endsAt`

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

  The date and time when the discount ends. If `null` or omitted, the discount has no expiration date.

* `minimumRequirement`

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

  The minimum item quantity or order subtotal required for the discount. If `null` or omitted, there is no minimum requirement.

* `combinesWith`

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

  The discount types that can be combined with the discount. If the field is `null`, an empty object (`{}`), or is omitted, the discount cannot be combined with any other discounts.

* `customerGets`

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

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

## Argument from

* [Mutation](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/mutations/discount-automatic-doli-create.md).discountAutomaticDoliCreate

* [Mutation](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/mutations/discount-automatic-doli-update.md).discountAutomaticDoliUpdate

