Skip to main content

Enhanced discounts support in the Shopify Functions Cart

As of GraphQL API version 2026-04, Shopify Functions can now access detailed discount information at three levels:

  1. Cart-level: All discount applications on the cart.
  2. Line item-level: Discounts allocated to specific line items.
  3. Delivery-level: Discounts allocated to delivery groups.

Based on the function execution order, only functions that execute after discounts can see complete discount information.

Learn more about function inputs.

Was this section helpful?