Subscription Contract Calculation Product Variant Parent Line Input
The input fields for product variant bundle parent subscription lines in the calculate API.
Anchor to FieldsFields
- components ([SubscriptionContractCalculationComponentLineInput!]!)
- customAttributes ([AttributeInput!]!)
- id (ID)
- priceOverride (MoneyInput)
- productVariantId (ID!)
- quantity (Int!)
- Anchor to componentscomponents•[Subscription
Contract Calculation Component Line Input!]! required The components for this parent line.
Show input fields
- Anchor to customAttributescustom•[Attribute
Attributes Input!]! requiredDefault:[] The custom attributes for this subscription line. Defaults to an empty list when omitted, which clears the line's stored attributes.
Show input fields
- •ID
The ID of an existing line to update. Omit for new lines. The ID keeps the line's identity but doesn't carry over any stored values, so restate every field of the line.
- Anchor to priceOverrideprice•Money
Override Input The price per bundle before discounts. Shopify splits it across the components by each component's price and quantity. It can't be combined with a component
. The amount must be greater than or equal to 0. When omitted, the component prices stand.Show input fields
- Anchor to productVariantIdproduct•ID!
Variant Id non-null The ID of the product variant for this bundle parent line.
- Anchor to quantityquantity•Int!non-null
The quantity of the bundle parent line. Must be at least 1.
Anchor to Input objects using this inputInput objects using this input
- Anchor to SubscriptionContractCalculationLineInput.productVariantParentLineSubscription•INPUT OBJECT
Contract Calculation Line Input.productVariantParentLine The input fields for subscription lines used for contract calculation. This is a oneOf input: one, and only one, field can be provided.