Subscription Contract Calculation Line Input
The input fields for subscription lines used for contract calculation. This is a oneOf input: one, and only one, field can be provided.
Anchor to FieldsFields
- customLine (SubscriptionContractCalculationCustomLineInput)
- productVariantLine (SubscriptionContractCalculationProductVariantLineInput)
- productVariantParentLine (SubscriptionContractCalculationProductVariantParentLineInput)
- Anchor to customLinecustom•Subscription
Line Contract Calculation Custom Line Input Input for a custom line.
- Anchor to productVariantLineproduct•Subscription
Variant Line Contract Calculation Product Variant Line Input Input for a product variant line.
- Anchor to productVariantParentLineproduct•Subscription
Variant Parent Line Contract Calculation Product Variant Parent Line Input Input for a product variant bundle parent line.
Anchor to Input objects using this inputInput objects using this input
- Anchor to SubscriptionContractCalculationBillingCycleEditInput.linesSubscription•INPUT OBJECT
Contract Calculation Billing Cycle Edit Input.lines The input fields for editing a subscription contract for a single billing cycle, used for contract calculation. Any field provided will update or replace the corresponding value for the targeted cycle. Fields that are omitted will be left unchanged. Contract-level attributes such as billing policy, delivery policy, and payment method cannot be changed by a billing cycle edit.
- Anchor to SubscriptionContractCalculationContractCreateInput.linesSubscription•INPUT OBJECT
Contract Calculation Contract Create Input.lines The input fields for calculating a new subscription contract. Provide the complete desired state of the contract. The contract isn't created until you commit the calculation with the
mutation.Learn how to build a subscription contract.
- Anchor to SubscriptionContractCalculationContractUpdateInput.linesSubscription•INPUT OBJECT
Contract Calculation Contract Update Input.lines The input fields for calculating changes to an existing subscription contract. Each field you provide replaces the corresponding value on the contract, and omitted fields remain unchanged. For list fields, provide the complete replacement list, including the
idof each existing item that you want to keep.Learn how to update a subscription contract.