View as Markdown
Google Merchant Center icon

Google Merchant Center ACTION

Update Product

Updates an existing product in your Google Merchant Center account. See the documentation
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Google Merchant Center account once, then configure and run Update Product from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "google_merchant_center-update-product",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    google_merchant_center: { authProvisionId: "apn_xxxxxxx" },
    productId: "Product ID",
    updatedValues: "Updated Values",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Update Product inputs
Property Type Description
productId Product ID string
The ID of the product
Required Dynamic
updatedValues Updated Values object
Values for the attributes to be updated. If a value is not a string, it will be parsed as JSON. See the documentation here
Required
updateMask Update Mask string[]
The product attributes to be updated. Attributes specified without a value provided in Updated Values will be deleted from the product. If not defined, attributes in Updated Values will be updated and other attributes will stay unchanged.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
google_merchant_center-update-product
Version
0.0.2
App
Google Merchant Center
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes