Stay up to date

Developer changelog

API

Removing discount allocation method "one"

Effective June 03, 2020

Action required

Deprecation

As of API version 2020-07, we're updating the allocation method for discounts that have set the target_selection as explicit. Currently, Shopify applies these discounts to a single line item, which corresponds to an allocation method of one. With this change, the allocation methods will instead include "each" and "across".

We're making this change to add "each" functionality, and simplify the discount syntax, as "one" and "across" functionally both discount the final price by a set amount.

For more information, please visit the community forum post.