Skip to main content

bundleCreate

Create a new product bundle in the system.

Establishes a new bundle with configuration, pricing rules, and initial product associations. The bundle will be available for sales and order processing immediately.

Possible errors:

  • CREATE_BUNDLE_ERROR: Failed to create the bundle
  • BUNDLE_ALREADY_EXISTS_ERROR: Bundle with the same name already exists
  • BUNDLE_ITEM_ALREADY_EXISTS_ERROR: Bundle item with the provided product data already exists
  • BUNDLE_ITEMS_NON_UNIQUE_ERROR: Bundle items must have unique product IDs or only one leader item
  • FORBIDDEN: Insufficient permissions to create bundles
bundleCreate(
input: BundleCreateInput!
): Bundle!

Arguments

bundleCreate.input ● BundleCreateInput! non-null input

Bundle creation data including configuration and initial items.

Contains all necessary information to create a functional bundle including name, description, pricing rules, and optional initial product associations.

Type

Bundle object

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.