# Hermoso: upsert_microsoft_merchant_product · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/upsert_microsoft_merchant_product/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / upsert_microsoft_merchant_product

# `upsert_microsoft_merchant_product`

Add or update Microsoft Merchant Center product offers destructive

Area: Microsoft Merchant Center · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Add or update product offers in a Microsoft Merchant Center store. THE ONE THING TO KNOW BEFORE CALLING IT: Microsoft has NO partial update — 'because an update is an insert operation, you must include all fields of the offer in the request' — so a title-only 'update' CLEARS every other field. Always send the whole offer. Ten fields are required: availability, channel, condition, contentLanguage, imageLink, link, offerId, price, targetCountry, title; brand/gtin/mpn are strongly recommended and their absence is set as identifierExists:false for you. Pass product for one offer or products[] for a batch (Hermoso caps a batch at 300 — Microsoft publishes two contradictory ceilings for this and we take the lower). Pass dryRun:true to validate against Microsoft without writing anything; Microsoft returns no ids on a dry run, so none is claimed. Feed edits cannot spend and cannot start an auction, but an offer goes through editorial review — being STORED is not the same as being served. Everything is read back from Microsoft. 0 credits.

## Parameters

Parameter Type Description

`adAccountId` `string` Microsoft ad account id — omit to use the single shared account

`accountId` `string` older name for adAccountId (MCP only)

`merchantId` `string` Microsoft Merchant Center store id from list_microsoft_merchant_stores — omit when the account has exactly one store

`product` `object` ONE whole offer — availability, channel, condition, contentLanguage, imageLink, link, offerId, price{value,currency}, targetCountry, title are required; brand/gtin/mpn strongly recommended

`products` `object[]` several whole offers in one batch, maximum 300

`catalogId` `string` write into a specific catalog instead of the store default

`dryRun` `boolean` validate against Microsoft and write nothing — Microsoft returns no ids for a dry run, so none is claimed

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/upsert_microsoft_merchant_product`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"upsert_microsoft_merchant_product","arguments":{}}}`
**CLI**

`hermoso call upsert_microsoft_merchant_product --json '{}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [list_microsoft_merchant_products](https://hermoso.ai/docs/reference/ads/list_microsoft_merchant_products/) List Microsoft Merchant Center product offers
- [delete_microsoft_merchant_product](https://hermoso.ai/docs/reference/ads/delete_microsoft_merchant_product/) Delete a Microsoft Merchant Center product offer
- [list_microsoft_merchant_stores](https://hermoso.ai/docs/reference/ads/list_microsoft_merchant_stores/) List Microsoft Merchant Center stores
- [list_microsoft_merchant_issues](https://hermoso.ai/docs/reference/ads/list_microsoft_merchant_issues/) Why Microsoft Merchant Center products are not serving
- [list_microsoft_merchant_catalogs](https://hermoso.ai/docs/reference/ads/list_microsoft_merchant_catalogs/) List Microsoft Merchant Center catalogs
- [manage_microsoft_merchant_catalog](https://hermoso.ai/docs/reference/ads/manage_microsoft_merchant_catalog/) Create, update or delete a Microsoft Merchant Center catalog
- [microsoft_ads_editorial_reasons](https://hermoso.ai/docs/reference/ads/microsoft_ads_editorial_reasons/) Why a Microsoft ad or keyword was disapproved

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
