Subscriptions with a private app

Solved

Subscriptions with a private app

Matt_Lein
Shopify Partner
6 0 8

I am trying to set up product subscriptions using a private app.

I am following https://shopify.dev/apps/subscriptions/selling-plans

To use the GraphQL mutations, your app needs to request the following access scopes for a Shopify store:

write_products: Allows an app to write products.
read_customer_payment_methods: Allows an app to read customer payment methods.
read_own_subscription_contracts: Allows an app to read subscription contract mutations for contracts they own.
write_own_subscription_contracts: Allows an app to write subscription contract mutations for contracts they own.

However, in the admin private app permissions, only write_products is available.

Can private apps add these required permissions?

Accepted Solution (1)

csam
Shopify Staff (Retired)
267 40 51

This is an accepted solution.

Hi @Matt_Lein

Private apps are not able to implement subscriptions as they cannot get access to protected scopes as outlined in our documentation here: https://shopify.dev/apps/subscriptions#requirements

However, you are able to create a custom app from the partner dashboard and request the access there. I recommend reading through this part of the documentation to make sure your app will meet the criteria for approval. Once you create the custom app in the dashboard:

  1. From the app's page in your Partner Dashboard, click App setup.
  2. In the Subscriptions section, click Request access to Subscription APIs.
  3. Provide a description about why you are applying for access.
  4. Click Request access.

 

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

View solution in original post

Replies 2 (2)

csam
Shopify Staff (Retired)
267 40 51

This is an accepted solution.

Hi @Matt_Lein

Private apps are not able to implement subscriptions as they cannot get access to protected scopes as outlined in our documentation here: https://shopify.dev/apps/subscriptions#requirements

However, you are able to create a custom app from the partner dashboard and request the access there. I recommend reading through this part of the documentation to make sure your app will meet the criteria for approval. Once you create the custom app in the dashboard:

  1. From the app's page in your Partner Dashboard, click App setup.
  2. In the Subscriptions section, click Request access to Subscription APIs.
  3. Provide a description about why you are applying for access.
  4. Click Request access.

 

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

ihsan
Visitor
1 0 2

Do shopify plans on releasing the subscription contracts scope for private apps ? Because my client  app really need this feature