hermosodocs

update_merchant_product

Update fields on a Merchant Center product destructive

Area: MERCHANT SETTINGS, THE WRITE HALF · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
merchantCenterIdrequiredstringfrom list_merchant_accounts
offerIdrequiredstringthe product to change
dataSourcestringthe feed it lives in, from list_merchant_data_sources
contentLanguagestringtwo-letter language code; taken from the feed when it declares one
feedLabelstringmarket label, e.g. US; taken from the feed when it declares one
titlestringnew product title; omit to leave unchanged
descriptionstringnew product description; omit to leave unchanged
linkstringproduct page URL on the merchant's store
imageLinkstringmain product image URL (https)
additionalImageLinksstring[]extra image URLs, sent as the whole list
availabilitystringin_stock | out_of_stock | preorder | backorder
conditionstringnew | refurbished | used
priceobjectnew price: {value in major units or amountMicros, currencyCode}
price.valuenumbermajor units, e.g. 19.99
price.amountMicrosstringmicros, if you already have them — 1 unit = 1000000
price.currencyCoderequiredstringthree-letter ISO 4217, e.g. USD
salePriceobjectnew sale price, same shape as price
salePrice.valuenumbermajor units, e.g. 19.99
salePrice.amountMicrosstringmicros, if you already have them — 1 unit = 1000000
salePrice.currencyCoderequiredstringthree-letter ISO 4217, e.g. USD
brandstringbrand name
gtinstringGTIN barcode (UPC, EAN or similar)
mpnstringmanufacturer part number
identifierExistsbooleanfalse for a product with no GTIN, MPN or brand, such as a service or bundle
googleProductCategorystringGoogle product taxonomy category
productTypesstring[]merchant-defined category labels, as a list
colorstringproduct colour
sizestringproduct size
materialstringproduct material
ageGroupstringnewborn, infant, toddler, kids or adult
genderstringmale, female or unisex
itemGroupIdstringshared id that groups the variants of one product
attributesobjectany 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.

All 759 Ad campaign management tools · tools.json