Anchor to subscriptionBillingCycleContractDraftCommitsubscription
subscriptionBillingCycleContractDraftCommit
mutation
Requires access scope. Also: The user must have manage_orders_information permission.
Commits the updates of a Subscription Billing Cycle Contract draft.
Anchor to Arguments
Arguments
- Anchor to draftIddraft•
Id ID!required The gid of the Subscription Contract draft to commit.
Was this section helpful?
Anchor to SubscriptionBillingCycleContractDraftCommitPayload returnsSubscriptionBillingCycleContractDraftCommitPayload returns
- Anchor to contractcontract•
The committed Subscription Billing Cycle Edited Contract object.
- Anchor to userErrorsuser•
Errors [SubscriptionDraft non-nullUser Error!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation subscriptionBillingCycleContractDraftCommit($draftId: ID!) {
subscriptionBillingCycleContractDraftCommit(draftId: $draftId) {
contract {
# SubscriptionBillingCycleEditedContract fields
}
userErrors {
field
message
}
}
}
Input
{
"draftId": "gid://shopify/<objectName>/10079785100"
}
{
"draftId": "gid://shopify/<objectName>/10079785100"
}