---
title: >-
  Amount no longer required on DraftOrderAppliedDiscountInput - Shopify
  developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/amount-no-longer-required-on-draftorderapplieddiscountinput
  md: >-
    https://shopify.dev/changelog/amount-no-longer-required-on-draftorderapplieddiscountinput.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2020-04-16T11:03:39-04:00'
  postedAt: '2020-04-17T00:00:00-04:00'
  updatedAt: '2024-02-02T10:04:56-05:00'
  effectiveAt: '2020-04-17T00:00:00-04:00'
---

April 17, 2020

Tags:

* API

# Amount no longer required on DraftOrderAppliedDiscountInput

The `amount` field is no longer a required field on `DraftOrderAppliedDiscountInput`. If omitted, then the `amount` is automatically calculated based on the `value` and `valueType`. This avoids unnecessary calculations by API clients that can otherwise be done by Shopify.

For more information, refer to [DraftOrderAppliedDiscountInput in our GraphQL reference](https://shopify.dev/docs/admin-api/graphql/reference/mutation/input-object/draftorderapplieddiscountinput).
