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

Discount application methods are returned by the Checkout resource


As of version 2021-04 of the REST Admin API, the Checkout resource returns the application_type property for discounts that are added to a checkout. The field shows how the discount was applied. Valid values are automatic, discount_code, manual, and script.

To learn more, refer to the Checkout reference.