Selling plan data in Subscription app extension

Solved

Selling plan data in Subscription app extension

Muttahhar
Shopify Partner
10 0 2

Hi,

I am creating a subscription app extension by following this doc: https://shopify.dev/apps/subscriptions/app-extensions/create

My question is how can I show the SellingPlanGroups and Product data in the app extension for the 'Add' and 'Edit' modes?
The only data available is the ProductId, VariantId, and SellingPlanGroupId, and to my knowledge, the only way to query data using only Ids is the Admin API. So should I use my app as middleware to fetch the data or is there any other way to do this?

Thanks.

Accepted Solution (1)

qc11
Shopify Staff (Retired)
47 14 12

This is an accepted solution.

Hi, Yes you should use your app to query the data from admin API and pass it back to your extension.

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Reply 1 (1)

qc11
Shopify Staff (Retired)
47 14 12

This is an accepted solution.

Hi, Yes you should use your app to query the data from admin API and pass it back to your extension.

To learn more visit the Shopify Help Center or the Community Blog.