Skip to main content

bundleRemoveItem

DEPRECATED

Use bundleRemoveItemAndReturnBundle instead

Remove a product from an existing bundle.

Permanently removes the specified product from the bundle configuration. This mutation is deprecated in favor of bundleRemoveItemAndReturnBundle which provides the updated bundle data.

Possible errors:

  • 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
bundleRemoveItem(
id: String!
productId: Int!
): Boolean! @deprecated

Arguments

bundleRemoveItem.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.

bundleRemoveItem.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.

Type

Boolean scalar

The Boolean scalar type represents true or false.