Unable to view / export redeem codes for discounts created using Shopify Functions

Unable to view / export redeem codes for discounts created using Shopify Functions

topshop
Shopify Partner
69 5 9

Hi,

 

I noticed that for code discounts created using Shopify Functions (`DiscountCodeApp`) and that have bulk codes added using the `discountRedeemCodeBulkAdd` mutation, we get a 404 page not found when visiting the  discount redeem codes view URL.

 

The reason for this is that the `DiscountDetailsCodeList` mutation run by Shopify admin when a user clicks "view all codes" on a discount does not fetch details for app created discount.

 

topshop_0-1719173843597.png

 

topshop_1-1719173877489.png

 

This seems to be just an oversight where the mutation query was not updated to include function code discounts. Users are unable to see / export / delete bulk codes created for function discounts because of this.

 

Unable to get to this page for bulk codes created for function discounts:

topshop_2-1719173992555.png

 

 

Discount Bot: Sitewide Sales - How to Exclude Products from Shopify Discounts: A Step-by-Step Guide
- Instantly create discounts for your entire product catalog with a single discount
- Exclude any products / collections / already on sale items for which the discounts should NOT apply
- Built using Shopify Functions for native performance and feel
Reply 1 (1)

topshop
Shopify Partner
69 5 9

Hi can anyone from Shopify confirm this is a known issue? If so, any pointers to where I can track progress towards a fix would be very helpful.

Discount Bot: Sitewide Sales - How to Exclude Products from Shopify Discounts: A Step-by-Step Guide
- Instantly create discounts for your entire product catalog with a single discount
- Exclude any products / collections / already on sale items for which the discounts should NOT apply
- Built using Shopify Functions for native performance and feel