How do I cancel all app subscriptions before closing my store?

Topic summary

Main issue: attempting to cancel all app subscriptions before sunsetting a Shopify app, per Shopify’s guidance.

  • Approach: Using Admin API requests on a development store to list and delete recurring application charges:

    • GET /admin/api/2023-07/recurring_application_charges.json
    • DELETE /admin/api/2023-07/recurring_application_charges/{charge_id}.json
    • Auth via X-Shopify-Access-Token.
  • Observation: Responses only include subscriptions within the single store tied to the provided access token, not across all stores where the app may be installed.

  • Ask: Whether others have encountered this and what might be wrong with the approach.

  • Technical context: “recurring_application_charges” are billing-related resources for a store; the access token appears store-scoped.

  • Artifacts: cURL code snippets are central to understanding the issue.

  • Status: No resolution yet; seeking guidance on canceling subscriptions beyond the current store scope.

Summarized with AI on January 19. AI used: gpt-5.

We want to close our Shopify application, as indicated in the provided link.

https://shopify.dev/docs/apps/store/success/support/sunsetting

We should cancel all subscriptions using this method. However, when I make a request to get the current subscriptions and cancel them

curl -X GET “https://your-development-store.myshopify.com/admin/api/2023-07/recurring_application_charges.json
-H “X-Shopify-Access-Token: {access_token}”

curl -X DELETE “https://your-development-store.myshopify.com/admin/api/2023-07/recurring_application_charges/455696195.json
-H “X-Shopify-Access-Token: {access_token}”

I receive subscriptions within my store scope, with the token I signed, not all. Has anyone encountered this, and what am I doing wrong?