[BUG?] Product Variants not being returned with DiscountAutomaticNode via GraphQL

Highlighted
Tourist
3 0 1

I created a Discount and applied it to one of my products ("Pothos"). The product has 3 total variants but I've only applied the discount to 2 of the variants.

 

Screen Shot 2020-04-08 at 4.18.15 PM.png

 

With that set, I'm trying to query the Discount node and get this list of product variants:

 

Screen Shot 2020-04-08 at 4.19.27 PM.png

 

But no product variants are being returned, only the products. How can I get the product variants that this discount is applied to?

 

Screen Shot 2020-04-08 at 4.19.01 PM.png

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1040 140 165

Thanks for reporting. Looks like an issue on our end. Raising internally.

0 Likes
Highlighted
Tourist
3 0 1

Thank you so much! Please let me know if there's anything else I can do to assist.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1040 140 165

@aaravin17 this appears to be resolved - please confirm.

0 Likes
Highlighted
Tourist
3 0 1

Confirming it's fixed! Thanks so much @scottydont!!

1 Like