upsert_microsoft_merchant_product
Add or update Microsoft Merchant Center product offers destructive
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.
Related tools
list_microsoft_merchant_productsList Microsoft Merchant Center product offersdelete_microsoft_merchant_productDelete a Microsoft Merchant Center product offerlist_microsoft_merchant_storesList Microsoft Merchant Center storeslist_microsoft_merchant_issuesWhy Microsoft Merchant Center products are not servinglist_microsoft_merchant_catalogsList Microsoft Merchant Center catalogsmanage_microsoft_merchant_catalogCreate, update or delete a Microsoft Merchant Center catalogmicrosoft_ads_editorial_reasonsWhy a Microsoft ad or keyword was disapproved