- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates the existing data source configuration. The fields that are set in the update mask but not provided in the resource will be deleted.
HTTP request
PATCH https://merchantapi.googleapis.com/datasources/v1/{dataSource.name=accounts/*/dataSources/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| dataSource.name | 
 Required. Identifier. The name of the data source. Format:  | 
Query parameters
| Parameters | |
|---|---|
| updateMask | 
 Required. The list of data source fields to be updated. Fields specified in the update mask without a value specified in the body will be deleted from the data source. Providing special "*" value for full data source replacement is not supported. For example, If you insert  | 
Request body
The request body contains an instance of DataSource.
Response body
If successful, the response body contains an instance of DataSource.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.