New Shopify Certification now available: Liquid Storefronts for Theme Developers

Change subscription currency code

tcarmi
Shopify Partner
14 0 3

Is there a way to change a subscription currency code?
It seems like the update draft mutation does not allow it, I wanted to be sure I am not missing any other API.

Reply 1 (1)
Liam
Shopify Staff
Shopify Staff
1917 203 579

Hi Tcarmi,

 

The `subscriptionDraftUpdate` mutation doesn't seem to support updating the currency code - the currency code seems to be set when creating a subscription contract using the `SubscriptionContractCreateInput` or `SubscriptionContractAtomicCreateInput` objects. 

 

If you need to change the currency code for a subscription, you might need to cancel the current subscription and create a new one with the desired currency code.

 

Hope this helps,

Liam | Developer Advocate @ 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