Method: accounts.products.update
Stay organized with collections
Save and categorize content based on your preferences.
Inserts or updates the attributes of the product in a Manufacturer Center account.
Creates a product with the provided attributes. If the product already exists, then all attributes are replaced with the new ones. The checks at upload time are minimal. All required attributes need to be present for a product to be valid. Issues may show up later after the API has accepted a new upload for a product and it is possible to overwrite an existing valid product with an invalid product. To detect this, you should retrieve the product and check it for issues once the new version is available.
Uploaded attributes first need to be processed before they can be retrieved. Until then, new products will be unavailable, and retrieval of previously uploaded products will return the original state of the product.
HTTP request
PUT https://manufacturers.googleapis.com/v1/{parent=accounts/*}/products/{name}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Parent ID in the format accounts/{account_id} . account_id - The ID of the Manufacturer Center account.
|
name |
string
Name in the format {targetCountry}:{contentLanguage}:{productId} . targetCountry - The target country of the product as a CLDR territory code (for example, US).
contentLanguage - The content language of the product as a two-letter ISO 639-1 language code (for example, en).
productId - The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.
|
Request body
The request body contains an instance of Attributes
.
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/manufacturercenter
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-09 UTC."],[[["Updates or creates product attributes within a Manufacturer Center account, potentially overwriting existing data."],["Requires providing product details like target country, content language, and a unique product ID within the request."],["Uploaded product data needs processing time before becoming visible or retrievable in its updated state."],["Utilizes the `PUT` method and specific path parameters for identifying the account and product in the request URL."],["Needs authorization with the `https://www.googleapis.com/auth/manufacturercenter` scope for access."]]],[]]