Activates a Subscription Contract.
Arguments
The ID of the subscription contract to activate.
Was this section helpful?
SubscriptionContractActivatePayload returns
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"
}