buyers

POST /v1/buyers/{buyersId}/clients/{clientsId}/users

Changed on

Creates a new client user in "INVITED" state. An email invitation will be sent to the new user, once accepted the user will become active.

Request

  • Base URL
    https://authorizedbuyersmarketplace.googleapis.com
  • URL
    https://authorizedbuyersmarketplace.googleapis.com/v1/buyers/{buyersId}/clients/{clientsId}/users
  • Auth
    OAuth 2 and OAuth 2
    Implicit: https://accounts.google.com/o/oauth2/auth
    Scopes: https://www.googleapis.com/auth/authorized-buyers-marketplace
    Authorization code: https://accounts.google.com/o/oauth2/auth
    Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/authorized-buyers-marketplace

Path parameters

buyersIdstring required
clientsIdstring required

Request body

emailstring

Required. The client user's email address that has to be unique across all users for the same client.

namestring

Output only. The resource name of the client user. Format: buyers/{accountId}/clients/{clientAccountId}/users/{userId}

state'STATE_UNSPECIFIED' | 'INVITED' | 'ACTIVE' | 'INACTIVE'

Output only. The state of the client user.

Response

Successful response

emailstring

Required. The client user's email address that has to be unique across all users for the same client.

namestring

Output only. The resource name of the client user. Format: buyers/{accountId}/clients/{clientAccountId}/users/{userId}

state'STATE_UNSPECIFIED' | 'INVITED' | 'ACTIVE' | 'INACTIVE'

Output only. The state of the client user.

Changes