Skip to main content

BundleUpdateInput

Input for updating an existing bundle.

Contains partial bundle data where only provided fields will be updated. Inherits all validation rules from bundle creation but makes all fields optional.

input BundleUpdateInput {
name: String
description: String
discount: Float
condition: BundleCondition
price: Float
taxZone: String
}

Fields

BundleUpdateInput.name ● String scalar

Display name for the bundle.

Used in customer-facing interfaces and administrative tools for bundle identification. Maximum length is 64 characters.

BundleUpdateInput.description ● String scalar

Detailed description of the bundle contents and value proposition.

Provides customers with comprehensive information about what the bundle includes and its benefits. Maximum length is 255 characters.

BundleUpdateInput.discount ● Float scalar

Discount percentage applied to bundle pricing.

Represents the percentage reduction from individual item prices when purchased as a bundle. Must be between 0 and 100. Validation ensures the value is within the acceptable range.

BundleUpdateInput.condition ● BundleCondition enum

Determines how bundle discounts are applied to items.

ALL: Discount applies to all items in the bundle EP: Discount applies only to extra products, excluding the primary item

BundleUpdateInput.price ● Float scalar

Base price for the bundle before discounts.

Used as a reference point for discount calculations and pricing comparisons. Must be a positive number.

BundleUpdateInput.taxZone ● String scalar

Geographic tax zone for pricing calculations.

Determines which tax rates and rules apply to bundle pricing for accurate cost calculations. Must be exactly 2 characters.

Member Of

bundleUpdate mutation