Skip to main content
Transfers an existing subscription to a different resource. This is the recommended replacement for the deprecated transferSubscription mutation.

Mutation

mutation TransferSubscriptionToResource(
  $input: TransferSubscriptionToResourceInput!
) {
  transferSubscriptionToResource(input: $input) {
    subscriptionId
    status
    resource {
      resourceId
    }
    plan {
      refId
      displayName
    }
  }
}

Parameters

input
TransferSubscriptionToResourceInput
required
Input for transferring a subscription to a resource

Return Type

Returns the updated CustomerSubscription object reflecting the new resource assignment.