Anchor to section titled 'undefined'

subscriptionContractActivate
mutation

Activates a Subscription Contract.


Anchor to subscriptionContractId
subscriptionContractId
required

The ID of the subscription contract to activate.


Was this section helpful?

The activated Subscription Contract.

The list of errors that occurred from executing the mutation.


Was this section helpful?
Hide code
Mutation reference
Copy
mutation subscriptionContractActivate($subscriptionContractId: ID!) {
subscriptionContractActivate(subscriptionContractId: $subscriptionContractId) {
contract {
# SubscriptionContract fields
}
userErrors {
field
message
}
}
}
Hide code
Input
Copy
{
"subscriptionContractId": "gid://shopify/<objectName>/10079785100"
}