Discount application methods are returned by the Checkout resource
API
Effective July 01, 2021
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.