Set a product translation
upsert_product_translationWrite ONE language of ONE product's translation — title, description, keywords, colour, material, pattern and its characteristics (attributes: keyed by the characteristic's name exactly as get_product returns it, each with a translated name and/or value) in that language — keeping the other languages and every field not named. A characteristic name the product does not have is refused with the list of its names. Call list_content_locales first and write only an offered language, never the base one. Use it when a marketplace publishes in another language (ebay.it reads Italian, Prom and Rozetka read uk and ru) or inspect_ebay_listings reports a title over 80 characters in the site's language. Translate the product's OWN text from get_product and add no fact it does not state; show the user the text before writing. For a product that belongs to a model the translation is the model's, so every article of it changes. Saves through the CRM's own Переклади tab operation with its version check (on CONFLICT re-read the product and retry). Idempotent. The result echoes the workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The product id returned by search_products or get_product. | |
| name | No | The product title in this language. eBay shows at most 80 characters. An empty string clears it, so the base name publishes. | |
| color | No | Colour name. | |
| locale | Yes | The language to write, as an ISO 639-1 code — for a marketplace, the site's own language (it on ebay.it, de on ebay.de, uk or ru for Prom and Rozetka). | |
| pattern | No | Pattern. | |
| keywords | No | Search keywords in this language; replaces the list. | |
| material | No | Material. | |
| attributes | No | Translated characteristics, keyed by the characteristic's BASE name exactly as the product shows it (see get_product). Each key is merged into what is stored; other characteristics and languages stay. A name the product does not have is refused. | |
| description | No | The description in this language. An empty string clears it. |