As of version 2021-04 of the REST Admin API, the Checkout resource returns the property for discounts that are added to a checkout. The field shows how the discount was applied. Valid values are automatic, , manual, and script.
To learn more, refer to the Checkout reference.
Was this page helpful?