2025-03-18
▼ ▲ merchantapi.accounts.productInputs.patch
Path : products/v1beta/{+name}
Flat Path : products/v1beta/accounts/{accountsId}/productInputs/{productInputsId}
HTTP Method : PATCH
Parameters :
name
Description : Identifier. The name of the product input. Format: `"{productinput.name=accounts/{account}/productInputs/{productinput}}"` where the last section `productinput` consists of 4 parts: channel~content_language~feed_label~offer_id example for product input name is "accounts/123/productInputs/online~en~US~sku123"
Pattern : ^accounts/[^/]+/productInputs/[^/]+$
Location : path
Required : Yes
Type : string
updateMask
Description : Optional. The list of product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the `custom_attribute.` prefix. Providing special "*" value for full product replacement is not supported.
Location : query
Type : string
Format : google-fieldmask
dataSource
Description : Required. The primary or supplemental product data source where `data_source` name identifies the product input to be updated. Only API data sources are supported. Format: `accounts/{account}/dataSources/{datasource}`.
Location : query
Type : string
Parameter Order : name
Scopes : https://www.googleapis.com/auth/content
Description : Updates the existing product input in your Merchant Center account. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.