Lacking user permissions for subscriptionContractCancel

I am running into an issue where I have a user in the Shopify admin for which I execute a subscriptionContractCancel mutation on a subscription contract that my app owns. The user has a bunch of permissions (not many), but definitely “Orders - View” and “Orders - Manage order information”.

The Shopify API however returns the following error message:

Access denied for subscriptionContractCancel field. Required access: `write_own_subscription_contracts` access scope. Also: The user must have manage_orders_information permission.

  • App has write_own_subscription_contracts :check_box_with_check:
  • User has manage_orders_information :check_box_with_check:

What other permissions are required for a user to be able to cancel a subscription contract? And how would I be able to figure that out?

Hi @mgtmn,

The user should be able to run that mutation fine with those permissions as long as they can access your app. If you’re still encountering issues, I recommend reaching out through help.shopify.com so we can investigate if there is an issue with the user account.

Turns out the own_subscription_contracts app scope requires the user to have certain permissions: orders, customers, preferences

Specifically for cancelling a subscription contract:

  • Orders > View
  • Orders > Manage order information
  • Customers > View
  • Store settings > Manage settings
1 Like