Will the Product Discount function API be sunset/retired in the future?

I understand that the Product Discount API is deprecated because of the new Discount API (which can apply order, product and shipping discounts at the same time).

The thing is that all my merchants already have product discounts created in their stores from my app, with their own configuration, metafields and more. This is why I’m worried that Shopify would directly sunset all Product Discounts so I wouldn’t be able to make any updates to it.

Will this happen in the future at any time? Any insight is appreciated.

Hey there! :waving_hand: I’m a developer on the Discounts team. I double-checked with our product lead, and we currently have no plans to sunset or remove these APIs in the future.

I would still highly recommend migrating to the latest, unified Discount Functions API at your convenience! You can find more information about doing that here.

1 Like

@Pridentt you’re also able to migrate an existing Product Discount function over to the new Discount API without impacting merchants that have that installed and configured, I’d recommend taking a look at the docs that Adam linked and let us know if you run into any issues with that.

1 Like

Thank you @AdamF-Shopify @David-Shopify, appreciate your insights!