Tags:
- API
Amount no longer required on DraftOrderAppliedDiscountInput
The amount field is no longer a required field on . If omitted, then the amount is automatically calculated based on the value and . This avoids unnecessary calculations by API clients that can otherwise be done by Shopify.
For more information, refer to DraftOrderAppliedDiscountInput in our GraphQL reference.
Was this section helpful?