Developer changelog
Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.
Amount no longer required on DraftOrderAppliedDiscountInput
API
Effective April 17, 2020
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.