subscriptionContractSetNextBillingDate mutation
Sets the next billing date of a Subscription Contract.
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 |
---|---|
contractId
(
ID!
)
required
|
The gid of the Subscription Contract to set the next billing date for. |
date
(
DateTime!
)
required
|
The next billing date. |
Return fields
-
contract (
SubscriptionContract
)The updated Subscription Contract object.
-
userErrors (
[SubscriptionContractUserError!]!
)List of errors that occurred executing the mutation.
Sets the next billing date of a Subscription Contract.
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 |
---|---|
contractId
(
ID!
)
required
|
The gid of the Subscription Contract to set the next billing date for. |
date
(
DateTime!
)
required
|
The next billing date. |
Return fields
-
contract (
SubscriptionContract
)The updated Subscription Contract object.
-
userErrors (
[SubscriptionContractUserError!]!
)List of errors that occurred executing the mutation.
Sets the next billing date of a Subscription Contract.
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 |
---|---|
contractId
(
ID!
)
required
|
The gid of the Subscription Contract to set the next billing date for. |
date
(
DateTime!
)
required
|
The next billing date. |
Return fields
-
contract (
SubscriptionContract
)The updated Subscription Contract object.
-
userErrors (
[SubscriptionContractUserError!]!
)List of errors that occurred executing the mutation.