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.

Get updates by RSS

Apply discounts to items added while editing an order

API

As of 2020-10, apps can now add manual or percentage-based discounts to any item that is added while editing an order with the GraphQL Admin API.

For more information about using discounts with order edits, including the specific mutations to add discounts, visit the tutorial on editing an existing order with the Admin API.