Removing discount allocation method "one"

Topic summary

Shopify announced a deprecation in API version 2020-07: explicit discounts will no longer use allocation_method: one. Instead, apps should rely on target_selection: explicit, while allocation_method becomes either across or each.

Key clarification:

  • across: discount applies to the whole line item total.
  • each: discount applies per unit in the line item.
  • one: deprecated; it previously only indicated an explicit line discount.

Most of the discussion shifted to confusing partner dashboard warnings. Several developers reported alerts even after upgrading API versions and despite not using DiscountApplication directly. Shopify clarified this is a “possibly breaking” warning, not grounds for app delisting.

Concrete guidance shared:

  • Update webhook API versions to 2020-07 or later.
  • Check all calls, including any requests without an explicit API version, because those default to the oldest supported version.
  • The warning may persist for up to 30 days after the last old-version webhook call.

Status: partially resolved. The technical change is clear, but developers still want better visibility into which exact calls triggered the warning.

Summarized with AI on March 6. AI used: gpt-5.4.

@Jason_Tigas

We’ve previously addressed this and it popped back up the other day. I’ve triple checked that the event version setting is correctly specified in our app dashboard to the latest stable (2021-04) event version. It has been set that way for at least a month.

Do I need to explicitly upgrade the saved event version of every webhook our app has created on install in stores to remove this message?

Appreciate the help,

Isaac

1 Like