Subscription Contract Calculation Product Variant Line Input
The input fields for product variant subscription lines in the calculate API.
Anchor to FieldsFields
- appManagedPricingPolicy (SubscriptionContractCalculationAppManagedPricingPolicyInput)
- customAttributes ([AttributeInput!]!)
- discounts ([SubscriptionContractCalculationLineDiscountInput!]!)
- id (ID)
- originSellingPlanId (ID)
- priceOverride (MoneyInput)
- productVariantId (ID!)
- quantity (Int!)
- sellingPlanName (String)
- Anchor to appManagedPricingPolicyapp•Subscription
Managed Pricing Policy Contract Calculation App Managed Pricing Policy Input App-managed pricing policy metadata for this line.
- Anchor to customAttributescustom•[Attribute
Attributes Input!]! requiredDefault:[] Custom attributes for this subscription line.
- Anchor to discountsdiscounts•[Subscription
Contract Calculation Line Discount Input!]! required The line-scoped manual discounts for this line. Each applies only to this line. You must state this list whenever you provide the line; pass an empty list to clear its discounts.
- •ID
The ID of an existing line to update. Omit for new lines.
- Anchor to originSellingPlanIdorigin•ID
Selling Plan Id The ID of the selling plan this line was originally created with. It's used to find the associated delivery profile, and isn't applied as a selling plan during calculation.
- Anchor to priceOverrideprice•Money
Override Input Override price for this line item. The amount must be greater than or equal to 0.
- Anchor to productVariantIdproduct•ID!
Variant Id non-null The ID of the product variant for this line.
- Anchor to quantityquantity•Int!non-null
The quantity of the product variant. Must be at least 1.
- Anchor to sellingPlanNameselling•String
Plan Name The selling plan name for this line, describing the order line items it creates. Defaults to the origin selling plan's current name when not specified.
Anchor to Input objects using this inputInput objects using this input
- Anchor to SubscriptionContractCalculationComponentLineInput.productVariantLineSubscription•INPUT OBJECT
Contract Calculation Component Line Input.productVariantLine The input fields for a single component of a parent line in the calculate API. This is a oneOf input: one, and only one, field can be provided.
- Anchor to SubscriptionContractCalculationLineInput.productVariantLineSubscription•INPUT OBJECT
Contract Calculation Line Input.productVariantLine The input fields for subscription lines used for contract calculation. This is a oneOf input: one, and only one, field can be provided.