Merchant Center: Get Product
gmc_get_productRead one processed product of a Google Merchant Center account by id (contentLanguagefeedLabelofferId, as gmc_query's product_view id column shows it) or by offer_id + content_language + feed_label: its current attributes (title, link, mobile link, image, price, sale price, availability, condition, brand, GTIN, MPN, category, product types, custom labels, description), the data source it comes from and whether that source accepts API changes, approval per destination and country, and the item-level issues with Google's explanation and help link. Call it before gmc_update_product_input and again a few minutes after to verify. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gmc_get_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer_id | No | The merchant's offer id (SKU), when product_id is not passed. | |
| account_id | No | Numeric Merchant Center account id, from gmc_list_accounts. May be left out when the connected login reaches exactly one account. | |
| feed_label | No | Feed label of the product, e.g. FR. | |
| product_id | No | The product id contentLanguage~feedLabel~offerId, e.g. fr~FR~SKU-123 (the id column of gmc_query's product_view). Or pass the three parts below. | |
| content_language | No | Two-letter content language of the product, e.g. fr. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issues | Yes | Item-level issues, errors first. | |
| offerId | Yes | The merchant's offer id. | |
| accountId | Yes | Merchant Center account. | |
| feedLabel | No | Feed label. | |
| patchable | Yes | True when gmc_update_product_input can change this product (its source is an API source). | |
| productId | Yes | contentLanguage~feedLabel~offerId. | |
| attributes | Yes | Current attributes by Google field name, values as text (money as '12.34 EUR'). | |
| dataSourceId | No | Numeric id of the primary data source the product comes from. | |
| lastUpdateDate | No | When Google last processed the product. | |
| contentLanguage | No | Content language. | |
| dataSourceInput | No | API, FILE, UI or AUTOFEED — who writes that source. | |
| destinationStatuses | Yes | Approval per destination. | |
| googleExpirationDate | No | When the product expires unless resubmitted. |