Skip to main content

bundleUpdate

Update an existing bundle's configuration.

Modifies bundle details including name, description, pricing rules, and settings. Only provided fields will be updated, others remain unchanged.

Possible errors:

  • BUNDLE_NOT_FOUND_ERROR: Bundle with the specified ID does not exist
  • UPDATE_BUNDLE_ERROR: Failed to update the bundle
  • BUNDLE_ALREADY_EXISTS_ERROR: Updated name conflicts with existing bundle
  • BUNDLE_ITEM_ALREADY_EXISTS_ERROR: Bundle item with provided data already exists
  • FORBIDDEN: Insufficient permissions to update bundles
bundleUpdate(
id: String!
input: BundleUpdateInput!
): Bundle!

Arguments

bundleUpdate.id ● String! non-null scalar

Unique identifier of the bundle to update.

Must be a valid UUID format representing an existing bundle in the system.

bundleUpdate.input ● BundleUpdateInput! non-null input

Updated bundle information.

Contains the bundle properties to update. Only provided fields will be changed, others remain unchanged.

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.