Merchant API (merchantapi:datasources_v1beta)

2024-06-14

6 new methods | New API

Additions

    Methods
  • merchantapi.accounts.dataSources.get

      Path: datasources/v1beta/{+name}

      Flat Path: datasources/v1beta/accounts/{accountsId}/dataSources/{dataSourcesId}

      HTTP Method: GET

      Parameters:

        name

          Description: Required. The name of the data source to retrieve. Format: `accounts/{account}/dataSources/{datasource}`

          Pattern: ^accounts/[^/]+/dataSources/[^/]+$

          Location: path

          Required: Yes

          Type: string

      Parameter Order: name

      Scopes: https://www.googleapis.com/auth/content

      Description: Retrieves the data source configuration for the given account.

  • merchantapi.accounts.dataSources.list

      Path: datasources/v1beta/{+parent}/dataSources

      Flat Path: datasources/v1beta/accounts/{accountsId}/dataSources

      HTTP Method: GET

      Parameters:

        parent

          Description: Required. The account to list data sources for. Format: `accounts/{account}`

          Pattern: ^accounts/[^/]+$

          Location: path

          Required: Yes

          Type: string

        pageSize

          Description: Optional. The maximum number of data sources to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified, the maximum number of data sources will be returned.

          Location: query

          Type: integer

          Format: int32

        pageToken

          Description: Optional. A page token, received from a previous `ListDataSources` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDataSources` must match the call that provided the page token.

          Location: query

          Type: string

      Parameter Order: parent

      Scopes: https://www.googleapis.com/auth/content

      Description: Lists the configurations for data sources for the given account.

  • merchantapi.accounts.dataSources.create

      Path: datasources/v1beta/{+parent}/dataSources

      Flat Path: datasources/v1beta/accounts/{accountsId}/dataSources

      HTTP Method: POST

      Parameters:

        parent

          Description: Required. The account where this data source will be created. Format: `accounts/{account}`

          Pattern: ^accounts/[^/]+$

          Location: path

          Required: Yes

          Type: string

      Parameter Order: parent

      Scopes: https://www.googleapis.com/auth/content

      Description: Creates the new data source configuration for the given account.

  • merchantapi.accounts.dataSources.patch

      Path: datasources/v1beta/{+name}

      Flat Path: datasources/v1beta/accounts/{accountsId}/dataSources/{dataSourcesId}

      HTTP Method: PATCH

      Parameters:

        name

          Description: Identifier. The name of the data source. Format: `{datasource.name=accounts/{account}/dataSources/{datasource}}`

          Pattern: ^accounts/[^/]+/dataSources/[^/]+$

          Location: path

          Required: Yes

          Type: string

        updateMask

          Description: 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.

          Location: query

          Type: string

          Format: google-fieldmask

      Parameter Order: name

      Scopes: https://www.googleapis.com/auth/content

      Description: Updates the existing data source configuration. The fields that are set in the update mask but not provided in the resource will be deleted.

  • merchantapi.accounts.dataSources.delete

      Path: datasources/v1beta/{+name}

      Flat Path: datasources/v1beta/accounts/{accountsId}/dataSources/{dataSourcesId}

      HTTP Method: DELETE

      Parameters:

        name

          Description: Required. The name of the data source to delete. Format: `accounts/{account}/dataSources/{datasource}`

          Pattern: ^accounts/[^/]+/dataSources/[^/]+$

          Location: path

          Required: Yes

          Type: string

      Parameter Order: name

      Scopes: https://www.googleapis.com/auth/content

      Description: Deletes a data source from your Merchant Center account.

  • merchantapi.accounts.dataSources.fetch

      Path: datasources/v1beta/{+name}:fetch

      Flat Path: datasources/v1beta/accounts/{accountsId}/dataSources/{dataSourcesId}:fetch

      HTTP Method: POST

      Parameters:

        name

          Description: Required. The name of the data source resource to fetch. Format: `accounts/{account}/dataSources/{datasource}`

          Pattern: ^accounts/[^/]+/dataSources/[^/]+$

          Location: path

          Required: Yes

          Type: string

      Parameter Order: name

      Scopes: https://www.googleapis.com/auth/content

      Description: Performs the data fetch immediately (even outside fetch schedule) on a data source from your Merchant Center Account. If you need to call this method more than once per day, you should use the Products service to update your product data instead. This method only works on data sources with a file input set.