Anchor to subscriptionContractFailsubscription
subscriptionContractFail
mutation
Requires access scope. Also: The user must have manage_orders_information permission.
Fails a Subscription Contract.
Anchor to Arguments
Arguments
- Anchor to subscriptionContractIdsubscription•
Contract Id ID!required The ID of the Subscription Contract.
Was this section helpful?
Anchor to SubscriptionContractFailPayload returnsSubscriptionContractFailPayload returns
- Anchor to contractcontract•
The new Subscription Contract object.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
1mutation subscriptionContractFail($subscriptionContractId: ID!) {2 subscriptionContractFail(subscriptionContractId: $subscriptionContractId) {3 contract {4 # SubscriptionContract fields5 }6 userErrors {7 field8 message9 }10 }11}
Input
1{2 "subscriptionContractId": "gid://shopify/<objectName>/10079785100"3}
{
"subscriptionContractId": "gid://shopify/<objectName>/10079785100"
}