Merchant API (merchantapi:accounts_v1beta)

2024-09-11

4 new methods | 2 removed methods

Additions

    Methods
  • merchantapi.accounts.autofeedSettings.getAutofeedSettings

      Path : accounts/v1beta/{+name}

      Flat Path : accounts/v1beta/accounts/{accountsId}/autofeedSettings

      HTTP Method : GET

      Parameters :

        name

          Description : Required. The resource name of the autofeed settings. Format: `accounts/{account}/autofeedSettings`

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

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

      Description : Retrieves the autofeed settings of an account.

  • merchantapi.accounts.autofeedSettings.updateAutofeedSettings

      Path : accounts/v1beta/{+name}

      Flat Path : accounts/v1beta/accounts/{accountsId}/autofeedSettings

      HTTP Method : PATCH

      Parameters :

        name

          Description : Identifier. The resource name of the autofeed settings. Format: `accounts/{account}/autofeedSettings`.

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

          Location : path

          Required : Yes

          Type : string

        updateMask

          Description : Required. List of fields being updated.

          Location : query

          Type : string

          Format : google-fieldmask

      Parameter Order : name

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

      Description : Updates the autofeed settings of an account.

  • merchantapi.accounts.emailPreferences.getEmailPreferences

      Path : accounts/v1beta/{+name}

      Flat Path : accounts/v1beta/accounts/{accountsId}/users/{usersId}/emailPreferences

      HTTP Method : GET

      Parameters :

        name

          Description : Required. The name of the `EmailPreferences` resource. Format: `accounts/{account}/users/{email}/emailPreferences`

          Pattern : ^accounts/[^/]+/users/[^/]+/emailPreferences$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

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

      Description : Returns the email preferences for a Merchant Center account user. Use the name=accounts/*/users/me/emailPreferences alias to get preferences for the authenticated user.

  • merchantapi.accounts.emailPreferences.updateEmailPreferences

      Path : accounts/v1beta/{+name}

      Flat Path : accounts/v1beta/accounts/{accountsId}/users/{usersId}/emailPreferences

      HTTP Method : PATCH

      Parameters :

        name

          Description : Identifier. The name of the EmailPreferences. The endpoint is only supported for the authenticated user.

          Pattern : ^accounts/[^/]+/users/[^/]+/emailPreferences$

          Location : path

          Required : Yes

          Type : string

        updateMask

          Description : Required. List of fields being updated.

          Location : query

          Type : string

          Format : google-fieldmask

      Parameter Order : name

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

      Description : Updates the email preferences for a Merchant Center account user. MCA users should specify the MCA account rather than a sub-account of the MCA. Preferences which are not explicitly selected in the update mask will not be updated. It is invalid for updates to specify an UNCONFIRMED opt-in status value. Use the name=accounts/*/users/me/emailPreferences alias to update preferences for the authenticated user.

Deletions

    Methods
  • merchantapi.accounts.emailpreferences.getEmailPreferences

      Path : accounts/v1beta/{+name}

      Flat Path : accounts/v1beta/accounts/{accountsId}/users/{usersId}/emailPreferences

      HTTP Method : GET

      Parameters :

        name

          Description : Required. The name of the `EmailPreferences` resource. Format: `accounts/{account}/users/{email}/emailPreferences`

          Pattern : ^accounts/[^/]+/users/[^/]+/emailPreferences$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

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

      Description : Returns the email preferences for a Merchant Center account user. Use the name=accounts/*/users/me/emailPreferences alias to get preferences for the authenticated user.

  • merchantapi.accounts.emailpreferences.updateEmailPreferences

      Path : accounts/v1beta/{+name}

      Flat Path : accounts/v1beta/accounts/{accountsId}/users/{usersId}/emailPreferences

      HTTP Method : PATCH

      Parameters :

        name

          Description : Identifier. The name of the EmailPreferences. The endpoint is only supported for the authenticated user.

          Pattern : ^accounts/[^/]+/users/[^/]+/emailPreferences$

          Location : path

          Required : Yes

          Type : string

        updateMask

          Description : Required. List of fields being updated.

          Location : query

          Type : string

          Format : google-fieldmask

      Parameter Order : name

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

      Description : Updates the email preferences for a Merchant Center account user. MCA users should specify the MCA account rather than a sub-account of the MCA. Preferences which are not explicitly selected in the update mask will not be updated. It is invalid for updates to specify an UNCONFIRMED opt-in status value. Use the name=accounts/*/users/me/emailPreferences alias to update preferences for the authenticated user.