Happening now! Exclusive AMA: Streamlining Fulfillment and Delivery with Shopify Experts | Ask your questions to be answered by our team!

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

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

Ihnat
Shopify Partner
1 0 0

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/4556961..." \
-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?

Replies 0 (0)