REST Resource: accounts.users

Resource: User

The User message represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see Frequently asked questions about people and access levels.

JSON representation
{
  "name": string,
  "state": enum (State),
  "accessRights": [
    enum (AccessRight)
  ]
}
Fields
name

string

Identifier. The resource name of the user. Format: accounts/{account}/user/{email}

Use me to refer to your own email address, for example accounts/{account}/users/me.

state

enum (State)

Output only. The state of the user.

accessRights[]

enum (AccessRight)

Optional. The access rights the user has.

State

The possible states of a user.

Enums
STATE_UNSPECIFIED Default value. This value is unused.
PENDING The user is pending confirmation. In this state, the user first needs to accept the invitation before performing other actions.
VERIFIED The user is verified.

AccessRight

The access right.

Enums
ACCESS_RIGHT_UNSPECIFIED Default value. This value is unused.
STANDARD Standard access rights.
ADMIN Admin access rights.
PERFORMANCE_REPORTING Users with this right have access to performance and insights.

Methods

create

Creates a Merchant Center account user.

delete

Deletes a Merchant Center account user.

get

Retrieves a Merchant Center account user.

list

Lists all users of a Merchant Center account.

patch

Updates a Merchant Center account user.