Subscriptions with a private app

Solved
Matt_Lein
Shopify Partner
3 0 2

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)

Accepted Solutions
csam
Shopify Staff
Shopify Staff
267 40 43

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.

 

CS | API Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 2 (2)
csam
Shopify Staff
Shopify Staff
267 40 43

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.

 

CS | API Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

ihsan
New Member
1 0 2

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