← All articles

B2B Commerce search: finding parts by part number

Dealers find spare parts in a Salesforce B2B Commerce store when the part number they type is stored exactly as they type it. According to Salesforce, store search needs all search terms to match and does not support prefix or infix partial matches. So the work lies in the product data: the current number as SKU, old and cross-reference numbers in a searchable field, spellings without separators added where dealers use them. Synonym rules, of which a store has 100, are for terms like “O-ring” and “seal”, not for thousands of numbers. Search analytics then shows which searches return nothing, and that list tells you what to fix next.

How does B2B Commerce search match a part number?

Salesforce B2B Commerce, which Salesforce now also markets as “Agentforce Commerce for B2B”, builds a search index per store. B2B and D2C stores on the core platform share this store search, as the search data model1 shows. Salesforce’s training material for D2C merchandisers says that product name, product description and product SKU are searchable by default and that you can add more fields. It describes these matching rules:

  • Search matches word stems.
  • A result appears only when all search terms are present in it.
  • Partial matches at the start or in the middle of a word are not supported.

The unit states them for D2C stores; I found no separate description for B2B, so treat them as the starting assumption and test. For spare parts, the third rule is the important one. A dealer who types only the first digits of a number does not find the full number. A dealer who types “815” does not find “0815”. How the index splits numbers with hyphens, dots or slashes into words is not documented in the sources I read, so I would test it with 50 real part numbers before any design decision.

Visibility comes first. A dealer only finds products that its buyer groups are entitled to see, and only the first 2,000 buyer groups of a product are indexed. I explain that limit in buyer groups and entitlements. Field-level security matters too: Trailhead warns that a shopper without access to an indexed searchable field cannot search the store at all.

25 searchable attributes and 100 synonym rules per store

Salesforce lists the search limits2 on one page. As of October 2026:

Limit Value Type
Searchable attributes per store 25 soft
Filterable attributes per store 50 soft
Facets shown per query 10, up to 50 on request soft
Filter fields per query 10 hard
Sort rules per store 15 hard
Synonym rules per store 100 hard
Boost and bury rules per store 100 hard
Products per results page 200 hard
Languages (locales) in the index 25 hard

25 searchable attributes sound like a lot until you list what dealers type: current number, old numbers, cross-references, machine type, name, short text, maybe an EAN. That leaves room, but not for one field per language and number type. I plan the searchable fields like any scarce resource and write down why each one is there.

Where do old and cross-reference numbers go?

Manufacturers rename parts. A seal gets a new number after a design change, a supplier part gets the manufacturer’s own number, a dealer still has the number from a 15-year-old parts list. Dealers type all of them.

There are two ways to make an old number findable: a synonym rule per number, where the search settings API supports single-word and multi-word synonyms, or a searchable text field “former and alternative numbers” on the current product. That field holds every old number, every supplier number and every cross-reference, separated by spaces.

Searchable field on the product

  • Holds any number of old and cross-reference numbers
  • Counts as one of the 25 searchable attributes, regardless of how many numbers it contains

Synonym rule per number

  • Only 100 rules per store, or 50 according to the API page
  • Covers a handful of numbers, not a parts history

I would always take the field for numbers. The data already exists in the ERP, in supersession chains or material master notes, and the interface can fill the field with every load. Worked example: a manufacturer with 30,000 active spare parts, of which 8,000 have one or more predecessor numbers. As synonym rules that is impossible. As a field it is one more column in the product import.

The same field can hold spellings: “4711-0020” and “47110020” side by side if dealers type both. Which spellings matter, the search analytics will show after a few weeks.

Synonym rules remain useful for words. “O-ring”, “seal ring” and the German “Dichtring” for the same thing, “filter cartridge” and “filter element”, the internal name of a machine series and the name on the dealer’s sales brochure. That is where 100 rules go a long way.

B2B Search (June 2026). In its June release post3, Salesforce describes AI-driven and attribute-based search. Buyers no longer need “the exact product name or SKU” and can describe what they need in plain language. Merchandisers get “granular control over attribute-based search and product visibility”. For dealers who know their part number this changes little. For end customers or new dealers who describe a part, it can help. I would test it with your own descriptions before relying on it.

Boost and bury, facet order and search analytics (July 2026). According to the July release post4, merchandisers can move products up or down in search and category results, set the order of filter groups such as brand, size or material, and see search queries, click-through rates, conversion and zero-result searches through Data Cloud.

Extensible search endpoints. The list of available extensions5 includes endpoint extensions for product search (Commerce_Endpoint_Search_ProductSearch and Commerce_Endpoint_Search_Products) and, from API version 67.0, for search suggestions. They let developers change the request before the search runs or the response after. That is the place for logic search settings cannot express, such as normalising a typed part number before the query. It is custom code and should go through the client’s pipeline like any other.

How do boost and bury and facets help with spare parts?

Boost and bury is useful for parts in two cases. Successor parts go up, so a dealer searching a general term sees the current part before the old one. Phased-out parts with remaining stock go down but stay findable. With 100 rules per store, I would build rules on attributes such as sales status, not on single products.

Facets help when a search returns many hits, for example “filter” in a catalogue with 400 filters. Then machine series, dimension and material narrow the list. 10 facets per query are enough if they are chosen well: the attributes dealers actually use to decide, in the order they use them. They require clean attribute values, which is a question of product data from ERP and PIM.

Showing dealers only parts that fit a specific machine is a different requirement. Search and facets cannot know which machines a dealer owns. The options for that are in show only parts for each machine, and the AI side in spare parts by serial number.

Test 200 search terms from inside sales

Collect what dealers actually type before you configure anything. Inside sales has emails and phone notes full of part numbers, old numbers and descriptions. Take 200 of them and run them against a test store with your real data. Every miss is either missing data, a missing searchable field or a spelling problem.

After go-live, the list of zero-result searches is the working list for the next data cleanup. Check it every week in the first months. How that fits with other KPIs is covered in B2B shop KPIs after go-live. And after every change to searchable fields, products, categories or entitlement policies, rebuild the search index, because Trailhead names all of these as triggers.

The topic belongs to the chapter on catalogue, search and entitlements of my B2B Commerce masterclass. Defining which ERP fields feed search is part of my work on Salesforce integration.

Sources5
  1. 1search data model (opens in a new tab)developer.salesforce.com
  2. 2search limits (opens in a new tab)developer.salesforce.com
  3. 3June release post (opens in a new tab)salesforce.com
  4. 4July release post (opens in a new tab)salesforce.com
  5. 5list of available extensions (opens in a new tab)developer.salesforce.com

Frequently asked questions

Can B2B Commerce search find part numbers?

Yes. Product SKU is searchable by default, as are name and description. Salesforce does not support prefix or infix partial matches, so a number typed without leading zeros or with different separators may not match unless that spelling is also stored.

How many synonym rules does a B2B Commerce store support?

The search limits page lists 100 synonym rules per store as a hard limit. The search settings API page states 50 rules per web store for its include rules, so check the value in your org before you plan around it.

How do dealers find superseded part numbers?

Store every old number in a searchable text field on the successor product. A dealer who types the old number then finds the current part, without a synonym rule per number.

What is B2B Search from June 2026?

Salesforce announced AI-driven and attribute-based search for B2B Commerce in June 2026. Buyers can describe a part in plain language, and merchandisers control attribute-based search and ranking.

Contact

Planning a B2B shop for dealers or customers?

Whether B2B Commerce on Salesforce fits your ordering process shows in a few points. In 30 minutes we go through them together.

What to bring

  • Who orders how today: by email, phone, EDI or through an existing portal
  • How many products, price lists and customer-specific prices there are
  • Which ERP holds orders, stock and prices

What we clarify

  • Whether a Salesforce store, another shop system or a lean portal fits better
  • Which ERP data the store really needs and how often
  • Which first step pays off, for example a spare parts shop
Book a call (opens Microsoft Bookings in a new tab)

Pick a slot in my calendar via Microsoft Bookings. Prefer to write? Use the form and I’ll get back to you.

Rather talk right away? +49 221 98656758

Send a message

Your details are only used to answer your request. More in the privacy policy.