# update_marketing_details

Bulk update marketing field translations for units, unit types, and/or buildings. Performs a per-field upsert: only the
fields you pass are written, and any fields you omit are left unchanged. Items are processed in parallel with partial
failure handling.

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | `UpdateMarketingDetailsItem[]` | Yes | Array of entity updates, each containing entityType, entityId, and translations - [UpdateMarketingDetailsItem](#updatemarketingdetailsitem) |

### UpdateMarketingDetailsItem

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `entityType` | `EntityType` | Yes | The type of entity to update marketing details for - [EntityType](#entitytype) |
| `entityId` | `string` | Yes | The ID of the entity to update marketing details for |
| `translations` | `MarketingTranslation[]` | Yes | Array of translations to create or update - [MarketingTranslation](#marketingtranslation) |

### MarketingTranslation

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `locale` | `Locale` | Yes | ISO 639-1 language code for the translation (uppercase) - [Locale](#locale) |
| `marketingTitle` | `string \| null` | No | Marketing title for the entity. Pass null to clear; omit to leave unchanged. |
| `marketingDescription` | `string \| null` | No | Marketing description for the entity. Pass null to clear; omit to leave unchanged. |
| `spaceDescription` | `string \| null` | No | Description of the space. Pass null to clear; omit to leave unchanged. |
| `locationDescription` | `string \| null` | No | Description of the location. Pass null to clear; omit to leave unchanged. |
| `accessDescription` | `string \| null` | No | Description of access to the property. Pass null to clear; omit to leave unchanged. |
| `transitDescription` | `string \| null` | No | Description of nearby transit options. Pass null to clear; omit to leave unchanged. |
| `additionalInformation` | `string \| null` | No | Additional information about the property. Pass null to clear; omit to leave unchanged. |

### EntityType

| Value | Description |
| --- | --- |
| `UNIT` | A single accommodation unit |
| `UNIT_TYPE` | A unit type grouping multiple units |
| `BUILDING` | A building containing unit types and units |

### Locale

| Value | Description |
| --- | --- |
| `EN` | English |
| `ES` | Spanish |
| `FR` | French |
| `DE` | German |
| `IT` | Italian |
| `PT` | Portuguese |
| `NL` | Dutch |
| `PL` | Polish |
| `CY` | Welsh |
| `GA` | Irish |

<!-- INPUT_BLOCK_END -->

<!-- OUTPUT_BLOCK_START -->

## Output

| Field | Type | Description |
| --- | --- | --- |
| `content` | `ContentItem[]` | Array of content items returned by the tool - [ContentItem](#contentitem) |
| `isError` | `boolean` | Whether the tool execution resulted in an error |

### ContentItem

| Field | Type | Description |
| --- | --- | --- |
| `type` | `'text'` | Content type (currently only 'text' is supported) |
| `text` | `string` | The text content to display |

<!-- OUTPUT_BLOCK_END -->
