Update Product
retail_search.update_product
ActionGoogle Cloudconnection required
Calls retail v2 PATCH /v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}.
Updates a Product.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google AI Commerce Search
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- project_id, location
- Resolved by
- config.connection_id, else node.connection_id
Configuration
5 fields, 4 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
location Location or region; taken from the connection when unset. | string | No | — | — | — |
catalog Catalog name or id. | string | Yes | — | — | — |
branch Branch name or id. | string | Yes | — | — | — |
product Product name or id. | string | Yes | — | — | — |
body The GoogleCloudRetailV2Product resource, as the API defines it. | object | Yes | — | — | — |
Output
One shape.
result
Extra keys beyond the ones listed can appear.
| Field | Type | Example |
|---|---|---|
attributes | object | — |
audience | object | — |
availability | string | — |
availableQuantity | integer | — |
availableTime | string | — |
brands | array | — |
categories | array | — |
collectionMemberIds | array | — |
colorInfo | object | — |
conditions | array | — |
description | string | — |
expireTime | string | — |
fulfillmentInfo | array | — |
gtin | string | — |
id | string | — |
images | array | — |
languageCode | string | — |
localInventories | array | — |
materials | array | — |
name | string | — |
patterns | array | — |
priceInfo | object | — |
primaryProductId | string | — |
promotions | array | — |
publishTime | string | — |
rating | object | — |
retrievableFields | string | — |
sizes | array | — |
tags | array | — |
title | string | — |
ttl | string | — |
type | string | — |
uri | string | — |
variants | array | — |
{
"attributes": {},
"audience": {},
"availability": "",
"availableQuantity": 0,
"availableTime": "",
"brands": [],
"categories": [],
"collectionMemberIds": [],
"colorInfo": {},
"conditions": [],
"description": "",
"expireTime": "",
"fulfillmentInfo": [],
"gtin": "",
"id": "",
"images": [],
"languageCode": "",
"localInventories": [],
"materials": [],
"name": "",
"patterns": [],
"priceInfo": {},
"primaryProductId": "",
"promotions": [],
"publishTime": "",
"rating": {},
"retrievableFields": "",
"sizes": [],
"tags": [],
"title": "",
"ttl": "",
"type": "",
"uri": "",
"variants": []
}Related Google AI Commerce Search nodes
See Update Product run in a workflow.
In a technical demo we add the Google AI Commerce Search connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.