FROM CACHE - en_header

How to get selling plans which is created for subscription

6 0 1

I am building a Shopify subscription extension, I want to display selling plans at the Shopify admin product page so vendor can add existing selling plans to the product. I have checked for the Shopify API but not found any API for getting selling plans. Is there any other way to get subscription plans? OR any Shopify API available which I didn't find.


Replies 2 (2)
8 0 3

You can use the sellingPlanGroups in QueryRoot object of GraphQL to query the Selling Plans.

Shopify Partner
11 0 0

"Field 'sellingPlanGroups' doesn't exist on type 'QueryRoot'"

...does this not work with the Storefront API?