Merchant API (merchantapi:accounts_v1beta)

2025-04-28

8 new methods

Additions

    Methods
  • merchantapi.accounts.relationships.get

      Path : accounts/v1beta/{+name}

      Flat Path : accounts/v1beta/accounts/{accountsId}/relationships/{relationshipsId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. The resource name of the account relationship to get.

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

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

      Description : Retrieve an account relationship.

  • merchantapi.accounts.relationships.patch

      Path : accounts/v1beta/{+name}

      Flat Path : accounts/v1beta/accounts/{accountsId}/relationships/{relationshipsId}

      HTTP Method : PATCH

      Parameters :

        name

          Description : Identifier. The resource name of the account relationship.

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

          Location : path

          Required : Yes

          Type : string

        updateMask

          Description : Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `account_id_alias`

          Location : query

          Type : string

          Format : google-fieldmask

      Parameter Order : name

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

      Description : Updates the account relationship. Executing this method requires admin access.

  • merchantapi.accounts.relationships.list

      Path : accounts/v1beta/{+parent}/relationships

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

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The parent account of the account relationship to filter by.

          Pattern : ^accounts/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageToken

          Description : Optional. The token returned by the previous `list` request.

          Location : query

          Type : string

        pageSize

          Description : Optional. The maximum number of elements to return in the response. Use for paging. If no `page_size` is specified, `100` is used as the default value. The maximum allowed value is `1000`.

          Location : query

          Type : integer

          Format : int32

      Parameter Order : parent

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

      Description : List account relationships for the specified account.

  • merchantapi.accounts.services.get

      Path : accounts/v1beta/{+name}

      Flat Path : accounts/v1beta/accounts/{accountsId}/services/{servicesId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. The resource name of the account service to get.

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

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

      Description : Retrieve an account service.

  • merchantapi.accounts.services.list

      Path : accounts/v1beta/{+parent}/services

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

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The parent account of the account service to filter by.

          Pattern : ^accounts/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageToken

          Description : Optional. The token returned by the previous `list` request.

          Location : query

          Type : string

        pageSize

          Description : Optional. The maximum number of elements to return in the response. Use for paging. If no `page_size` is specified, `100` is used as the default value. The maximum allowed value is `1000`.

          Location : query

          Type : integer

          Format : int32

      Parameter Order : parent

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

      Description : List account services for the specified accounts. Supports filtering.

  • merchantapi.accounts.services.propose

      Path : accounts/v1beta/{+parent}/services:propose

      Flat Path : accounts/v1beta/accounts/{accountsId}/services:propose

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. The resource name of the parent account for the service.

          Pattern : ^accounts/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

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

      Description : Propose an account service.

  • merchantapi.accounts.services.approve

      Path : accounts/v1beta/{+name}:approve

      Flat Path : accounts/v1beta/accounts/{accountsId}/services/{servicesId}:approve

      HTTP Method : POST

      Parameters :

        name

          Description : Required. The resource name of the account service to approve.

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

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

      Description : Approve an account service proposal.

  • merchantapi.accounts.services.reject

      Path : accounts/v1beta/{+name}:reject

      Flat Path : accounts/v1beta/accounts/{accountsId}/services/{servicesId}:reject

      HTTP Method : POST

      Parameters :

        name

          Description : Required. The resource name of the account service to reject.

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

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

      Description : Reject an account service (both proposed and approve services can be rejected).