Admin GraphQL API2024-04
lineItem.discountedTotalSet
can optionally include code based discounts
lineItem.discountedTotalSet
can optionally include code based discountsAs of the 2024-04 version of the GraphQL Admin API, you can use the new argument on the
field to include or exclude line item discounts originating from a discount code. The current behaviour of
is to exclude code based discounts and as such, the default value for this option is
false
so there will be no change required for clients who want to continue to have them excluded.
See the documentation for on Shopify.dev. The argument is already available on the
unstable
Admin API.
Was this section helpful?