Method: accounts.languages.productCertifications.patch
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Actualiza (o crea si allow_missing = true) una certificación de producto que vincula certificaciones con productos.
Solo los organismos de certificación pueden llamar a este método.
Solicitud HTTP
PATCH https://manufacturers.googleapis.com/v1/{productCertification.name=accounts/*/languages/*/productCertifications/*}
La URL usa la sintaxis de la transcodificación gRPC.
Parámetros de ruta de acceso
Parámetros |
productCertification.name |
string
Es obligatorio. Es el identificador de nombre único de una certificación de producto. El formato es accounts/{account}/languages/{language_code}/productCertifications/{id}, donde id es un identificador único y language_code es un código ISO 639-1 de 2 letras de un idioma admitido por Shopping según https://support.google.com/merchants/answer/160637.
|
Parámetros de consulta
Parámetros |
updateMask |
string (FieldMask format)
Opcional. Es la lista de campos que se actualizarán según aip.dev/134. Sin embargo, por el momento, solo se admite la actualización completa. Por lo tanto, se puede ignorar o establecer en "*". Si se configuran otros valores, se mostrará el error UNIMPLEMENTED. Esta es una lista separada por comas de los nombres de campos totalmente calificados. Ejemplo: "user.displayName,photo" .
|
Cuerpo de la solicitud
El cuerpo de la solicitud contiene una instancia de ProductCertification
.
Cuerpo de la respuesta
Si se ejecuta de forma correcta, el cuerpo de la respuesta contiene una instancia de ProductCertification
.
Permisos de autorización
Requiere el siguiente permiso de OAuth:
https://www.googleapis.com/auth/manufacturercenter
Para obtener más información, consulta OAuth 2.0 Overview.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-08-17 (UTC)
[null,null,["Última actualización: 2025-08-17 (UTC)"],[[["\u003cp\u003eUpdates a product certification linking certifications with products, accessible only by certification bodies.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes an HTTP PATCH request with the format \u003ccode\u003ePATCH https://manufacturers.googleapis.com/v1/{productCertification.name=accounts/*/languages/*/productCertifications/*}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRequires a request body containing a \u003ccode\u003eProductCertification\u003c/code\u003e instance for updating.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/manufacturercenter\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eReturns the updated \u003ccode\u003eProductCertification\u003c/code\u003e instance in the response body upon successful completion.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.languages.productCertifications.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates (or creates if allow_missing = true) a product certification which links certifications with products.\n\nThis method can only be called by certification bodies.\n\n### HTTP request\n\n`PATCH https://manufacturers.googleapis.com/v1/{productCertification.name=accounts/*/languages/*/productCertifications/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `productCertification.name` | `string` Required. The unique name identifier of a product certification Format: accounts/{account}/languages/{language_code}/productCertifications/{id} Where `id` is a some unique identifier and `language_code` is a 2-letter ISO 639-1 code of a Shopping supported language according to \u003chttps://support.google.com/merchants/answer/160637\u003e. |\n\n### Query parameters\n\n| Parameters ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` Optional. The list of fields to update according to aip.dev/134. However, only full update is supported as of right now. Therefore, it can be either ignored or set to \"\\*\". Setting any other values will returns UNIMPLEMENTED error. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body contains an instance of [ProductCertification](/manufacturers/reference/rest/v1/accounts.languages.productCertifications#ProductCertification).\n\n### Response body\n\nIf successful, the response body contains an instance of [ProductCertification](/manufacturers/reference/rest/v1/accounts.languages.productCertifications#ProductCertification).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/manufacturercenter`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]