--- title: >- Discount application methods are returned by the Checkout resource - Shopify developer changelog description: >- Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: >- https://shopify.dev/changelog/discount-application-methods-are-returned-by-the-checkout-resource md: >- https://shopify.dev/changelog/discount-application-methods-are-returned-by-the-checkout-resource.md metadata: effectiveApiVersion: 2021-04 affectedApi: [] primaryTag: displayName: API handle: api secondaryTag: displayName: Update handle: update indicatesActionRequired: false createdAt: '2021-03-09T10:31:36-05:00' postedAt: '2021-07-01T00:00:00-04:00' updatedAt: '2024-12-13T17:24:32-05:00' effectiveAt: '2021-07-01T00:00:00-04:00' --- July 1, 2021 Tags: * API * 2021-04 # 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](https://shopify.dev/docs/admin-api/rest/reference/sales-channels/checkout).