Override attributes on many products
set_product_overridesSet DIFFERENT attribute overrides on many products in one call (up to 200). This is the tool for a real title pass: get_search_queries gives each product its own top query and the words missing from its title, so every product needs a different string and no feed mapping can express that. Omit feedId to write once for every feed, which is the default for a title pass. Name a feed only when that feed needs its own values (another language, say). Each entry's overrides REPLACE that product's override map on the chosen layer, exactly like set_product_override, so send every attribute that should stay. The preview lists the ones each entry would drop under removes. An omitted included keeps that product's current include state. Unknown product ids are skipped and reported, not fatal. This tool previews by default: called without confirm, it returns the proposed change and applies NOTHING. Show the merchant the proposal, then call again with confirm: true to apply. One regeneration is queued for the whole batch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedId | No | Feed id from list_feeds. Omit to write the overrides every feed inherits. | |
| confirm | No | Omit or false to preview the whole batch. True applies it. | |
| products | Yes | One entry per product, up to 200 per call |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Plain-language result or next step, safe to read out to the merchant. | |
| count | No | Entries in the previewed batch | |
| scope | No | Which override layer the call addressed: one feed's row, or the row every feed inherits | |
| errors | No | Reasons the save was refused | |
| feedId | No | The feed the batch was written against, on a feed-scoped call | |
| applied | No | True when the change was saved | |
| changes | No | Per-product before and after, for the merchant to approve | |
| preview | No | True when this call only proposed the change | |
| appliedCount | No | Products actually written on the confirm call | |
| removesCount | No | Products whose entry drops overrides they hold today (each change lists them under removes) | |
| outrankedCount | No | Products in a store-wide batch whose own feed row wins over this write | |
| validationErrors | No | Problems that must be fixed before confirming | |
| unknownProductIds | No | Ids in the preview that match no product | |
| skippedUnknownProductIds | No | Ids skipped during the write because they match no product |