Skip to main content
Anchor to SubscriptionBillingCycleContractEditCalculatePayload

SubscriptionBillingCycleContractEditCalculatePayload

payload

Return type for subscriptionBillingCycleContractEditCalculate mutation.

Anchor to subscriptionContractCalculationsubscriptionContractCalculation
•SubscriptionContractCalculation

The result of the subscription contract calculation operation.

Show union types
•[SubscriptionBillingCycleContractEditCalculateUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Starts an asynchronous calculation for changes to a single billing cycle of an existing subscription contract. Committing the calculation applies the changes only to the selected cycle, leaving the recurring contract unchanged.

Poll the subscriptionContractCalculation query to review the calculated contract, then commit it with the subscriptionContractCalculationCommit mutation.

Learn how to update a subscription contract.

Show payload

Arguments

•SubscriptionActor

The actor who initiated a subscription action.

Show enum values
Anchor to billingCycleEditInputbillingCycleEditInput
•SubscriptionContractCalculationBillingCycleEditInput!
required

The input for the single billing cycle contract edit calculation.

Show input fields
Anchor to billingCycleSelectorbillingCycleSelector
•SubscriptionBillingCycleSelector!
required

Selects the billing cycle to edit, by index or date.

Show input fields
•ID!
required

The ID of the subscription contract to edit.



Was this section helpful?