Stay up to date

Developer changelog

API

Discount application methods are returned by the Checkout resource

Effective July 01, 2021

Update

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.