For discussing the development and integration of subscription-enabled shops using Shopify's Subscription APIs.
I am trying to update an existing subscription so that the next cycles will have a computed price against an updated price. I looked into the mutations I can use and this is the closest I found: https://shopify.dev/docs/api/admin-graphql/2024-04/mutations/subscriptionDraftUpdate. However, in the inputs of this mutation, there's no price/amounts for the subscription itself, only for the delivery.
Is it even possible to update the price of an existing subscription?
Solved! Go to the solution
This is an accepted solution.
Upon checking, this mutation can be used: https://shopify.dev/docs/api/admin-graphql/2024-04/mutations/subscriptionDraftLineUpdate since the price of a subscriptions is on a per line basis.
This is an accepted solution.
Upon checking, this mutation can be used: https://shopify.dev/docs/api/admin-graphql/2024-04/mutations/subscriptionDraftLineUpdate since the price of a subscriptions is on a per line basis.