Resource: User
The User resource 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 and Control access to your account.
| JSON representation |
|---|
{ "name": string, "state": enum ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the user. Format: Use |
state |
Output only. The state of the user. |
accessRights[] |
Required. The access rights the user has. |
State
The state represents the possible statuses of a user. It is an output-only field that is set to PENDING when a user is invited to an account and changes to VERIFIED once the user accepts the invitation.
| 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 defines the level of permission a user has within a Merchant Center account.
| Enums | |
|---|---|
ACCESS_RIGHT_UNSPECIFIED |
Default value. This value is unused. |
STANDARD |
Standard access rights. |
READ_ONLY |
Has access to the same read-only methods as STANDARD, but no access to any mutating methods. |
ADMIN |
Admin access rights. |
PERFORMANCE_REPORTING |
Users with this right have access to performance and insights. |
API_DEVELOPER |
Users with this right have access to Merchant API and its notifications. This role is only accessible to accounts that have a developer registration. |
Methods |
|
|---|---|
|
Creates a Merchant Center account user. |
|
Deletes a Merchant Center account user. |
|
Retrieves a Merchant Center account user. |
|
Lists all users of a Merchant Center account. |
|
Updates a Merchant Center account user. |