Skip to main content

BundleItem

Individual product item within a bundle configuration.

Represents a specific product included in a bundle with its role, pricing, and metadata. Contains information about the product's position and importance within the bundle structure.

type BundleItem {
productId: Int!
price: BundlePrice
isLeader: YesNo
createdAt: DateTime
createdBy: Int
lastModifiedAt: DateTime
lastModifiedBy: Int
product(hidden: Boolean): Product!
}

Fields​

BundleItem.productId ● Int! non-null scalar​

Product identifier within the bundle.

References the specific product included in this bundle configuration.

BundleItem.price ● BundlePrice object​

Calculated pricing information for this specific item within the bundle.

Includes item-level pricing with bundle discounts applied based on the bundle's pricing rules.

BundleItem.isLeader ● YesNo enum​

Designates whether this product serves as the primary item in the bundle.

Leader items typically drive bundle pricing and discount calculations. Only one item per bundle can be designated as the leader.

BundleItem.createdAt ● DateTime scalar​

Timestamp when this bundle item was added.

Tracks when the product was included in the bundle configuration.

BundleItem.createdBy ● Int scalar​

Identifier of the user who added this item to the bundle.

Used for audit purposes and tracking item additions.

BundleItem.lastModifiedAt ● DateTime scalar​

Timestamp of the most recent modification to this bundle item.

Updated when item properties or configurations are changed.

BundleItem.lastModifiedBy ● Int scalar​

Identifier of the user who last modified this bundle item.

Used for audit purposes and change tracking.

BundleItem.product ● Product! non-null object​

BundleItem.product.hidden ● Boolean scalar​

Returned By​

bundleAddItems mutation

Member Of​

Bundle object