Bundle
Product bundle entity representing a collection of products sold together.
Contains bundle configuration, pricing information, and associated product items with comprehensive metadata for bundle management and sales operations.
type Bundle {
id: String!
name: String
description: String
discount: Float
condition: BundleCondition
price: BundlePrice
items: [BundleItem!]
createdAt: DateTime
createdBy: Int
lastModifiedAt: DateTime
lastModifiedBy: Int
}
Fields
Bundle.id
● String!
non-null scalar
Unique identifier for the bundle.
Used to reference the bundle across all operations and maintain data consistency.
Bundle.name
● String
scalar
Display name for the bundle.
Used in customer-facing interfaces and administrative tools for bundle identification. Maximum length is 64 characters.
Bundle.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.
Bundle.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.
Bundle.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
Bundle.price
● BundlePrice
object
Calculated pricing information for the bundle.
Includes net and gross prices with original pricing for comparison, computed based on tax zone and current discount rules.
Bundle.items
● [BundleItem!]
list object
Collection of products included in this bundle.
Each item represents a product with its configuration and role within the bundle. Items define which products are part of the bundle and their relationships.
Bundle.createdAt
● DateTime
scalar
Timestamp when the bundle was initially created.
Used for audit trails and chronological sorting of bundle records.
Bundle.createdBy
● Int
scalar
Identifier of the user who created this bundle.
Used for audit purposes and tracking bundle ownership.
Bundle.lastModifiedAt
● DateTime
scalar
Timestamp of the most recent bundle modification.
Updated automatically whenever bundle properties or items are changed.
Bundle.lastModifiedBy
● Int
scalar
Identifier of the user who last modified this bundle.
Used for audit purposes and change tracking.
Returned By
bundle
query ● bundleAddItemsAndReturnBundle
mutation ● bundleCreate
mutation ● bundleRemoveItemAndReturnBundle
mutation ● bundleUpdate
mutation
Member Of
BundlesResponse
object ● CartMainItem
object ● Product
object