# Hermoso: set_merchant_inventory · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/set_merchant_inventory/. 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/) / set_merchant_inventory

# `set_merchant_inventory`

Set store or region price and stock destructive

Area: MERCHANT LOCAL + REGIONAL INVENTORY, REVIEWS, QUOTA · [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

SET the price, availability or stock level of one Shopping product at ONE physical store (kind:"local", keyed by storeCode) or in ONE region (kind:"regional", keyed by region). This is what stops a Shopping ad advertising something the nearest store has sold out of. Google's insert REPLACES the whole entry, so this tool reads what is already stored, merges your fields over it, and reports which stored fields it preserved; pass an explicit null to CLEAR one. The API publishes no enum for availability, so it accepts anything and only Google's local inventory data specification says which values actually serve: In stock, Limited availability, On display to order, Out of stock, submitted in English. An unrecognised value is warned about here rather than refused, because refusing would mean inventing an enum Google does not publish. Google states it can take up to 30 minutes before the product itself reflects the change, so a product read straight afterwards can still show the old value and be correct. Free.

## Parameters

Parameter Type Description

`merchantCenterId` required `string` from list_merchant_accounts

`offerId` required `string` the product's own id in the feed

`contentLanguage` required `string` two-letter feed language, e.g. "en"

`feedLabel` required `string` usually the feed target country, e.g. "US"

`kind` required `"local" | "regional"` local = one physical store (storeCode), regional = one Google region (region)

`storeCode` `string` required for kind:'local' — the store ID from the merchant's Business Profile. Immutable

`region` `string` required for kind:'regional' — the Merchant Center region id. Immutable

`availability` `string | null` no API enum exists; Google's local spec publishes In stock, Limited availability, On display to order, Out of stock, in English. Anything else is warned about, not refused. null clears it

`price` `string | null` "12.99 USD". A bare number is refused because a price with no currency is not a price. null clears it

`salePrice` `string | null` "9.99 USD". Google requires salePriceEffectiveDate alongside it if that is set. null clears it

`quantity` `number | null` local only. null clears it

`pickupMethod` `string | null` local only. Must be sent WITH pickupSla unless the value is "not supported"

`pickupSla` `string | null` local only

`instoreProductLocation` `string | null` local only, max 20 bytes

## 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/set_merchant_inventory`.

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

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_merchant_inventory","arguments":{"merchantCenterId":"<string>","offerId":"<string>","contentLanguage":"<string>","feedLabel":"<string>","kind":"<one of the listed values>"}}}`
**CLI**

`hermoso call set_merchant_inventory --json '{"merchantCenterId":"<string>","offerId":"<string>","contentLanguage":"<string>","feedLabel":"<string>","kind":"<one of the listed values>"}'`

## 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_merchant_inventory](https://hermoso.ai/docs/reference/ads/list_merchant_inventory/) Merchant store and region overrides

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