Price rule with option to target subscription products (like in admin)

Price rule with option to target subscription products (like in admin)

NiceTeam
Excursionist
15 0 13

Hi,

The new discount interface in Shopify Admin allows merchants to create a subscription discount which can specifically target subscription products (see screenshot below).

NiceTeam_0-1617093905169.png

However, I see that the GraphQL priceRuleCreate endpoint doesn't yet allow us to specify whether the price rule should apply only on subscription products, one-time products or both, meaning that we can't create the same kind of discount via API that the merchant can create manually.

I see that there is a plan to add support for selling plans to Draft Orders in 2022 which is great and can also help us resolve our issue. However, we thought that the price rules will already have the support for selling plans, as merchants can already create a discount code for subscription orders.

Are there any plans to extend support for creating subscription discounts and discount codes via the GraphQL API?

 

Thank you

 

Replies 3 (3)

EddyChung
Shopify Partner
65 1 29

@NiceTeam did you find a solution?

I am also trying to figure this out. 

Conjured_Char
Shopify Partner
36 0 4

Did anyone ever find a solution to this?

allwool
Visitor
1 0 0