subscriptionDraftCommit mutation
Commits the updates of a Subscription Contract draft.
Required access
write_own_subscription_contracts
access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
draftId
(
ID!
)
required
|
The gid of the Subscription Contract draft to commit. |
Return fields
-
contract (
SubscriptionContract
)The updated Subscription Contract object.
-
userErrors (
[SubscriptionDraftUserError!]!
)List of errors that occurred executing the mutation.
Commits the updates of a Subscription Contract draft.
Required access
write_own_subscription_contracts
access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
draftId
(
ID!
)
required
|
The gid of the Subscription Contract draft to commit. |
Return fields
-
contract (
SubscriptionContract
)The updated Subscription Contract object.
-
userErrors (
[SubscriptionDraftUserError!]!
)List of errors that occurred executing the mutation.
Commits the updates of a Subscription Contract draft.
Required access
write_own_subscription_contracts
access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
draftId
(
ID!
)
required
|
The gid of the Subscription Contract draft to commit. |
Return fields
-
contract (
SubscriptionContract
)The updated Subscription Contract object.
-
userErrors (
[SubscriptionDraftUserError!]!
)List of errors that occurred executing the mutation.
Commits the updates of a Subscription Contract draft.
Required access
write_own_subscription_contracts
access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
draftId
(
ID!
)
required
|
The gid of the Subscription Contract draft to commit. |
Return fields
-
contract (
SubscriptionContract
)The updated Subscription Contract object.
-
userErrors (
[SubscriptionDraftUserError!]!
)List of errors that occurred executing the mutation.