Skip to main content

BundleCreateInput

No description

input BundleCreateInput {
name: String!
description: String
discount: Float
condition: BundleCondition
price: Float
taxZone: String
addBundleItems: [BundleItemInput!]
}

Fields

BundleCreateInput.name ● String! non-null scalar

Display name for the bundle.

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

BundleCreateInput.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.

BundleCreateInput.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.

BundleCreateInput.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

BundleCreateInput.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.

BundleCreateInput.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.

BundleCreateInput.addBundleItems ● [BundleItemInput!] list input

Collection of products to include in this bundle.

Each item represents a product with its configuration and role within the bundle. Products must be unique and only one can be designated as the leader item. Validation ensures unique product IDs and single leader designation.

Member Of

bundleCreate mutation