Skip to navigation

CreateCompanyUserInput

INPUT
Input for creating a company user.

Input fields

emailStringRequired
The email of the company user. It must not already be in use in the store.
firstNameStringRequired
The first name of the company user.
lastNameStringRequired
The last name of the company user.
companyRoleIdIntegerRequired
The id of the company role to assign to the company user, as returned by companyRoles.
phoneStringOptional
The phone number of the company user.
extraFieldsCompanyUserExtraFieldsInputOptional
The values of the company user extra fields defined by the merchant. Values are validated against each field's configuration.

Referenced by