Override one product's attributes
set_product_overrideSet one product's attribute overrides and/or include state, for every feed (omit feedId) or for one feed. Overrides replace mapped attribute values on every item of the product, and a feed's own override wins over the store-wide one per attribute. An empty string sends nothing for that attribute, and omitting one the product already has returns it to its mapped value. The map you send REPLACES the product's whole override map, so send every attribute you want kept. The preview lists the ones it would drop under removes, and current shows what is stored today. 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedId | No | Feed id from list_feeds. Omit to write the override every feed inherits. | |
| confirm | No | Omit or false to preview. True applies the change. | |
| included | No | Include this product. Omit to keep its current state. | |
| overrides | No | Full replacement override map for this product (max 50 attributes). Include every attribute that should stay, since anything left out goes back to its mapped value. | |
| productId | Yes | Product id from list_products |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feed | No | The feed's id and name, on a feed-scoped call | |
| note | No | Plain-language result or next step, safe to read out to the merchant. | |
| 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 | |
| applied | No | True when the change was saved | |
| current | No | The row this call replaces, as stored before the call | |
| preview | No | True when this call only proposed the change | |
| product | No | The product's id and title | |
| removes | No | Attributes overridden today that this call drops, because the map replaces the stored one | |
| setting | No | The saved override row, on the confirm call | |
| proposed | No | Overrides this call would store, or stored | |
| effective | No | What the feed emits today after merging the store-wide and feed rows, when they differ | |
| overriddenBy | No | On a store-wide call, the feeds holding their own row for this product. Their values win over this write. | |
| validationErrors | No | Problems that must be fixed before confirming |