Privacy and preparation
Ecommerce bundle compatibility dataset: when items fail as a set
By SourceX Editorial · Reviewed by Noah Loul ·
9 sections
Short answer
Test bundle constraints as tasks, not pairs: every pair in a failing bundle can pass. An ecommerce bundle compatibility dataset records each bundle decision with its starting state frozen at order time (catalog version, components and quantities, stock by source, promotion rule), the cross-product constraint and its rule text, the decision a correct agent should make, and the order outcome that proves it, paired with a counterexample.
License terms
Ecommerce bundle
Key takeaways
- Bundle constraints pass per item and fail only in combination, so pairwise compatibility data cannot reveal them.
- Commerce platforms already encode bundle-level rules, such as minimum component stock and same-source shipping, that can be exported with their versions.
- Freeze catalog, stock and promotion state at decision time; current values rewrite history.
- Grade on the order outcome, using return reasons that name the clash, not on the agent's reply.
- Pair every task with a counterexample where exactly one fact differs.
How do you test constraints that fail only when retail items are bundled?
Test them as tasks, not as pairs. A bundle constraint is a rule that holds for each item on its own and breaks only for the combination: two parts that each fit the chassis but not together, components that are each in stock but in different warehouses for a ship-together order, a quantity that the bundle multiplies past what is on hand. Pairwise compatibility data cannot show that failure, because every pair passes.
An ecommerce bundle compatibility dataset therefore needs one record per bundle decision with four parts: the starting state (catalog version, components and quantities, stock and source snapshot, promotion rules in force), the cross-product constraint under test with its rule text, the decision a correct agent should make, and the outcome the order history proves. The outcome is what grades the agent, not whether its reply sounded right.
The sections below show where these constraints already sit in real commerce platforms, a constraint taxonomy, the field-level task specification, an illustrative worked case with its counterexample, and the review steps before order histories leave the company.
Where do bundle-level constraints already live in commerce systems?
Most commerce platforms already encode some bundle-level rules, which is where a task set should start because the rule text and its version can be exported. Each rule below holds for the bundle as a whole and is invisible if you only look at one item.
| System | Bundle-level rule (per its documentation) | Why per-item checks miss it |
|---|---|---|
| Shopify fixed bundles | The parent bundle's inventory is the minimum of its components' inventory; a bundle can have up to 30 components and nested bundles are not supported | Every component can show stock while the bundle cannot be sold in the quantity requested |
| Adobe Commerce bundle products | If bundle items ship together, all items must be assigned the same inventory source; a bundle goes out of stock when products tied to a required option are out of stock | Items stocked in different sources pass individually and fail a ship-together order |
| Adobe Commerce pricing and tax | Dynamic pricing taxes each bundle item; fixed pricing taxes the whole bundle | The same items produce a different tax treatment depending on the bundle setting |
| Google Merchant Center | is_bundle marks a merchant-defined bundle with a clear main product; the bundle uses the main product's GTIN, MPN and brand | A listing can be valid per item and rejected or mismatched as a bundle |
| GS1 GTIN Management Standard | Changing, adding or replacing an item in a predefined assortment requires a new GTIN | A component swap silently creates a different trade item |
| Salesforce CPQ product rules | Product rules, such as validation rules with a condition and an error message, check configured bundles for invalid product combinations | Rules evaluate the configuration, so the record of which rule fired matters more than the line items |
Which kinds of cross-product constraint belong in the task set?
Include a constraint type only when your records can show both the rule and an outcome that proves whether it held. The taxonomy below covers the families that appear in real retail operations. schema.org gives a shared vocabulary for some of them: isAccessoryOrSparePartFor and isConsumableFor point from one product to the products it serves, which is useful for labeling the pairwise layer that bundle tasks build on.
| Constraint family | Fails as a bundle when | Evidence needed | Typical outcome record |
|---|---|---|---|
| Physical fit | Combined dimensions or clearances exceed a shared limit | Spec sheet values per item, the shared limit, catalog version | Return reason, exchange, support ticket |
| Shared capacity | Combined draw, load or volume exceeds one component's rating | Ratings per item, the capacity component's rating | Return reason, warranty claim |
| Quantity ratio | Bundle quantity times component quantity exceeds stock | Component quantities, stock snapshot with timestamp | Backorder, partial cancellation |
| Fulfillment source | Ship-together items sit in different locations | Source assignment per item, fulfillment rule | Split shipment, cancellation, delay |
| Promotion eligibility | A bundle offer and an item offer cannot both apply | Promotion rule text and version, order discount lines | Price adjustment, customer service credit |
| Identity | A component substitution makes the bundle a different trade item | Component list version, GTIN per version | Listing disapproval, catalog correction |
| Configuration rule | A configurator rule blocks or requires an option | Rule definition, which rule fired, user override | Quote revision, approval record |
The compatibility and cross-product constraint task set
Each task in the set is one bundle decision with its evidence frozen at the time it was made. Real records are referenced by tokenized IDs; illustrative tasks say so in a label field. Use this as a column specification for the export and as the acceptance checklist for each task.
At a glance
The compatibility and cross-product constraint task set
| Field | What it holds | Format | Check before accepting the task |
|---|---|---|---|
| Task ID and label | Stable task key and real or illustrative flag | Token plus real or illustrative | Label present on every task |
| Catalog snapshot | Catalog version or timestamp the decision used | Version ID or ISO timestamp | Matches the order date, not today |
| Components | Each component SKU or GTIN with quantity in the bundle | List of identifier and quantity pairs | Quantities sum to what the order line shows |
| State snapshot | Stock per component and source, captured as-of the decision | Per-source counts with timestamp | Timestamp precedes the decision |
| Constraint under test | Family, rule text and rule version | Family code, verbatim rule, version | Rule existed at the snapshot time |
| Per-item checks | Result of each item's own compatibility check | Pass or fail per item with reference | All pass, or the task is not a bundle-only failure |
| Expected decision | What a correct agent should do | Block, substitute, split, warn or allow, with reason | Reason cites the constraint, not a guess |
| Verified outcome | What the order history shows happened | Fulfillment state, return or exchange reason, ticket outcome | Outcome record linked by token |
| Counterexample | A paired task where the same items pass because one fact differs | Task ID of the pair and the differing fact | Exactly one fact differs |
Worked case (illustrative): three PC parts that each fit, and a build that does not
This case is invented to show the structure; it is not drawn from a real retailer, and every quantity is illustrative. A retailer sells a prebuilt-parts bundle: a compact case, a graphics card and a front-mounted liquid cooler. Each item has a compatibility flag against the case: the card's length is within the case's maximum card length, and the cooler's radiator size is a supported front mount.
The combination fails. The case's spec sheet notes that maximum card length drops when a front radiator is installed, because the radiator and fans take space in the same bay. The retailer's records show several orders of this exact bundle followed by returns coded as incompatible, and support tickets describing the same clash.
What makes this a usable task is that every piece of evidence is a record, not a judgment made today. The spec sheet revision is the one published when the orders were placed, the per-item flags are the ones the storefront showed, and the outcome is the return code and ticket text. An annotator only adds the link between them and the counterexample.
- Starting state: catalog snapshot at order time; components case, card and cooler, quantity 1 each; all three in stock at one source.
- Constraint under test: physical fit, rule text from the case spec sheet on reduced card clearance with a front radiator, spec sheet revision recorded.
- Per-item checks: case and card pass; case and cooler pass.
- Expected decision: block the bundle as configured, or substitute a shorter card or a top-mounted cooler, citing the clearance rule.
- Verified outcome: order lines, return records coded incompatible within the return window, and the linked support ticket.
- Counterexample: the same bundle with a rear or top radiator option passes; the only differing fact is the mount position, and the order history shows delivery with no return.
- Second failure to record separately: when the retailer offered a two-card variant, available bundle quantity was limited by card stock divided by two, which the storefront overstated until the quantity rule was corrected.
How do you grade the shipped outcome instead of the agent's reply?
Grade the agent on what happened to the order, not on whether its reply was plausible. A reply that says the parts are compatible, followed by a return coded incompatible, is a failure even if every sentence matched the product pages. A reply that blocks the bundle is only correct if the counterexample shows the alternative would have shipped without a return.
That requires linking records most retailers keep in separate systems: order lines, fulfillment events, returns or RMA reason codes, and support tickets. Keep the link by token, and keep the time between order and outcome, because a return weeks later for a different reason is not evidence about compatibility.
Return reason codes are often coarse, so confirm a sample by reading the linked tickets before trusting a code across the whole set. If incompatible is also used for wrong item shipped, split the code or drop the affected tasks; a noisy outcome label teaches the agent to block bundles that were fine.
- Shipped complete and no compatibility-coded return or ticket within the return window: the constraint held.
- Return or exchange coded incompatible, or a ticket naming the clash: the constraint failed.
- Split shipment, partial cancellation or backorder on a ship-together order: a fulfillment or quantity constraint failed.
- Return for a changed mind, damage in transit or a late delivery: not a compatibility outcome; exclude from grading or label as noise.
- No outcome record: the task cannot be graded and should not enter the set.
Which catalog, stock or promotion change makes yesterday's answer wrong?
Any change to a component, a stock count or a promotion rule after the decision makes the current catalog the wrong evidence. Retail data is overwritten constantly: products are revised, stock moves between sources, and promotions start and end. A task rebuilt from current values will often show a bundle as valid that failed at the time, or the reverse.
Identifier changes are the clearest example. Under the GS1 GTIN Management Standard, changing, adding or replacing an item in a predefined assortment requires a new GTIN, so a bundle whose component was swapped is a different trade item, and its tasks must not be merged with the earlier version's. Platform settings matter in the same way: in Adobe Commerce, child products are assigned to and removed from a bundle globally across websites and store views, so one catalog edit can change the bundle everywhere at once.
- Freeze the catalog version, component list and rule text at decision time and store them with the task.
- Record stock per source with a timestamp before the decision; discard snapshots taken after it.
- Store the promotion rule version that applied to the order, not the current offer.
- Record customer edits to the order after placement as separate events, so a customer-made change is not read as an agent decision.
What has to be settled before order and catalog records are licensed?
Order histories hold customer names, addresses and payment references, so privacy review comes first, and it is a different question from who owns the records. Tokenize customers consistently across orders, returns and tickets so the links survive; strip free-text fields in tickets and return comments separately, because customers paste addresses and order numbers into them.
Rights are a further question. Marketplace sales data may be governed by the marketplace's seller terms, and manufacturer spec sheets and images can carry their own copyright, separate from the retailer's own catalog fields. Being able to export a record does not settle whether you may license it. Counsel should review marketplace and supplier agreements before scoping.
Licensing bundle and order histories through SourceX
Retailers whose order histories capture real bundle failures can license them through SourceX, which takes care of rights review, contracting, preparation and delivery. No record leaves until the retailer has approved scope and terms and signed, and exports in the terabytes stay on the retailer's own storage or are shipped on an encrypted drive, never hosted by SourceX. A retailer learns whether it is a fit from a short assessment, before sharing any order data.
Frequently asked questions
What is the difference between product compatibility data and bundle compatibility data?
Product compatibility data records whether two items work together, such as an accessory and the product it fits. Bundle compatibility data records whether a set of items works as a whole under a shared limit, stock rule or fulfillment rule. Every pair in a failing bundle can pass.
Do I need real order outcomes, or can rules alone build the task set?
Rules alone produce plausible tasks with unverified answers. The order outcome is what shows whether the rule actually decided what happened. Use rule-only tasks only when labeled as illustrative.
How do I stop a model from learning from bundles that changed later?
Freeze the catalog version, component list, stock snapshot and promotion rule at decision time and store them with each task. Treat a component swap as a new bundle version, consistent with GS1's rule that a changed assortment gets a new GTIN.
Which return reasons count as compatibility failures?
Only reasons that name the clash, such as incompatible or does not fit, ideally confirmed by a linked support ticket. Changed-mind, damaged and late-delivery returns are not compatibility outcomes and should be excluded or labeled as noise.
Why include a counterexample with every task?
A counterexample where one fact differs and the bundle ships cleanly shows the agent which fact decided the outcome. Without it, a model can learn to block every bundle that looks similar.
Sources
- Shopify's bundle documentation says a fixed bundle's parent inventory is the minimum of its components' inventory quantities. Source
- Shopify's variant fixed bundle guide says a bundle can have up to 30 components and nested bundles are not supported. Source
- Adobe Commerce documentation says ship-together bundle items must share an inventory source, describes when a bundle goes out of stock, says dynamic pricing taxes each bundle item while fixed pricing taxes the whole bundle, and says child products are assigned to and removed from a bundle globally for all websites, stores and store views. Source
- Google Merchant Center's is_bundle attribute marks a merchant-defined bundle built around a main product, which supplies the bundle's GTIN, MPN and brand. Source
- The GS1 GTIN Management Standard requires a new GTIN when an item in a predefined assortment is changed, added or replaced. Source
- Salesforce CPQ documentation describes product rules, including validation rules with a condition and an error message, that check for invalid product combinations. Source
- schema.org defines isAccessoryOrSparePartFor and isConsumableFor as pointers from a product to the products it serves. Source
See if your company qualifies
A short company assessment. No data uploads are needed.