Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Is it possible to delete a SubscriptionContract?

Solved

Is it possible to delete a SubscriptionContract?

colinloretz
Excursionist
16 2 7

The only mutations that are documented are create, setNextBillingDate and update.

Is there a way to delete a subscription contract through an update mutation or deletion all together?

Thanks in advance!

Accepted Solution (1)

brendasegal
Shopify Staff
6 4 1

This is an accepted solution.

Hi,

No, it's not possible to delete a SubscriptionContract.  However a contract's status can be updated.  The list of possible statuses can be seen in the help docs.

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

View solution in original post

Replies 2 (2)

brendasegal
Shopify Staff
6 4 1

This is an accepted solution.

Hi,

No, it's not possible to delete a SubscriptionContract.  However a contract's status can be updated.  The list of possible statuses can be seen in the help docs.

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

colinloretz
Excursionist
16 2 7

Thank you!

While I've been making use of test stores, I would love to see the ability to delete subscription contracts in the future or adding a new status that can be used to filter out contracts that are in a deleted state. The use case is for migrations of existing subscriptions and cleanup. Cheers!