update_merchant_product
Update fields on a Merchant Center product destructive
Description
Change SOME fields on a product already in a Merchant Center feed — the everyday operation, because price and availability move daily. This is a PATCH: only the attributes you name are touched and everything else on the product survives, which is the difference from upsert_merchant_product (a whole-row write that wipes anything you leave out). It refuses if the product does not exist rather than quietly creating a half-populated one, and it refuses an empty change rather than sending an update mask with nothing behind it. The reply reports every field Google now holds, so you can see what survived. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
merchantCenterIdrequired | string | from list_merchant_accounts |
offerIdrequired | string | the product to change |
dataSource | string | the feed it lives in, from list_merchant_data_sources |
contentLanguage | string | two-letter language code; taken from the feed when it declares one |
feedLabel | string | market label, e.g. US; taken from the feed when it declares one |
title | string | new product title; omit to leave unchanged |
description | string | new product description; omit to leave unchanged |
link | string | product page URL on the merchant's store |
imageLink | string | main product image URL (https) |
additionalImageLinks | string[] | extra image URLs, sent as the whole list |
availability | string | in_stock | out_of_stock | preorder | backorder |
condition | string | new | refurbished | used |
price | object | new price: {value in major units or amountMicros, currencyCode} |
price.value | number | major units, e.g. 19.99 |
price.amountMicros | string | micros, if you already have them — 1 unit = 1000000 |
price.currencyCoderequired | string | three-letter ISO 4217, e.g. USD |
salePrice | object | new sale price, same shape as price |
salePrice.value | number | major units, e.g. 19.99 |
salePrice.amountMicros | string | micros, if you already have them — 1 unit = 1000000 |
salePrice.currencyCoderequired | string | three-letter ISO 4217, e.g. USD |
brand | string | brand name |
gtin | string | GTIN barcode (UPC, EAN or similar) |
mpn | string | manufacturer part number |
identifierExists | boolean | false for a product with no GTIN, MPN or brand, such as a service or bundle |
googleProductCategory | string | Google product taxonomy category |
productTypes | string[] | merchant-defined category labels, as a list |
color | string | product colour |
size | string | product size |
material | string | product material |
ageGroup | string | newborn, infant, toddler, kids or adult |
gender | string | male, female or unisex |
itemGroupId | string | shared id that groups the variants of one product |
attributes | object | any other product attribute by its Merchant API name |
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/update_merchant_product.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_merchant_product","arguments":{"merchantCenterId":"<string>","offerId":"<string>"}}}
CLI
hermoso call update_merchant_product --json '{"merchantCenterId":"<string>","offerId":"<string>"}'
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
upsert_merchant_productCreate or replace a Merchant Center productdelete_merchant_productDelete a Merchant Center productdelete_merchant_data_sourceDelete a Merchant Center product feedlist_google_ads_campaignsList Google Ads accounts / campaignscreate_merchant_data_sourceCreate a Merchant Center product feedgoogle_ads_reportGoogle Ads GAQL reportlist_merchant_data_sourcesList Merchant Center product feedsmanage_merchant_conversion_sourceMerchant Center conversion sourcesmanage_merchant_notificationsMerchant Center push notificationsmerchant_quotaMerchant Center quota and limits