Anchor to SubscriptionContractUpdateCalculatePayloadSubscription
payloadSubscription Contract Update Calculate Payload
Return type for mutation.
Anchor to FieldsFields
- subscriptionContractCalculation (SubscriptionContractCalculation)
- userErrors ([SubscriptionContractUpdateCalculateUserError!]!)
- Anchor to subscriptionContractCalculationsubscription•Subscription
Contract Calculation Contract Calculation The result of the subscription contract calculation operation.
Show union types
- Anchor to userErrorsuser•[Subscription
Errors Contract Update Calculate User Error!]! 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
- subscriptionContractUpdateCalculate (SubscriptionContractUpdateCalculatePayload)
- •mutation
Starts an asynchronous calculation for changes to an existing subscription contract. The changes aren't applied to the contract until you commit the calculation, and fields omitted from the input remain unchanged.
Poll the
query to review the calculated contract, its projected order totals, and any warnings, then commit it with themutation.Learn how to update a subscription contract.
Show payload
- Anchor to actoractor•Subscription
Actor The actor who initiated a subscription action.
Show enum values
- Anchor to contractIdcontract•ID!
Id required The ID of the subscription contract to update.
- Anchor to contractUpdateInputcontract•Subscription
Update Input Contract Calculation Contract Update Input! required The input for the subscription contract update calculation.
Show input fields
Arguments
Was this section helpful?