Skip to main content

bundleRemoveItemAndReturnBundle

Remove a product from an existing bundle and return the updated bundle.

Permanently removes the specified product from the bundle configuration and returns the complete updated bundle with recalculated pricing.

Possible errors:

  • BUNDLE_NOT_FOUND_ERROR: Bundle with the specified ID does not exist after item removal
  • BUNDLE_ITEM_NOT_FOUND_ERROR: Product is not part of the specified bundle
  • REMOVE_BUNDLE_ITEM_ERROR: Failed to remove item from the bundle
  • FORBIDDEN: Insufficient permissions to modify bundles
bundleRemoveItemAndReturnBundle(
id: String!
productId: Int!
taxZone: String = "NL"
): Bundle!

Arguments​

bundleRemoveItemAndReturnBundle.id ● String! non-null scalar​

Unique identifier of the bundle to modify.

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

bundleRemoveItemAndReturnBundle.productId ● Int! non-null scalar​

Product identifier to remove from the bundle.

Must be a positive integer representing a product that exists in the specified bundle.

bundleRemoveItemAndReturnBundle.taxZone ● String scalar​

Tax zone for pricing calculations.

Geographic tax zone code used to calculate accurate bundle pricing after item removal. Defaults to 'NL' if not specified.

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.