BatteryIncluded Search Provider
Configure BatteryIncluded as search provider with webhooks, indexing, and portal setup.
Webhook-based search configuration
Creating and updating products
Deleting products
5
Configure the transformation mapping
/**
* @param webhook the webhook object
* @param webhook.method destination method. Allowed values: "POST", "PUT"
* @param webhook.url current destination address
* @param webhook.eventType current webhook Event Type
* @param webhook.payload JSON payload
* @param webhook.cancel whether to cancel dispatch of the given webhook
*/
function handler(webhook) {
// modify the webhook object...
// convert data
const payload = [webhook.payload.id]
webhook.method = "DELETE";
webhook.payload = payload
return webhook
}Indexing Service configuration
Enabling BatteryIncluded


Setting the MERGE indexing strategy
Controlling which mixin data is indexed
excludedMixinKeys — root-key denylist
includedMixinPaths — glob-path allowlist
Token
Meaning
BatteryIncluded - index document format
Field
Type
Description
BatteryIncluded - search configurations
Category
3
Brand
Price
Variables
1
Searchable fields
1
Variants
Synonyms

Dynamic filtering
B2B Commerce Frontend
Last updated
Was this helpful?




















