UpdateCustomerInput
Input fields for updating an existing customer account.
Contains the customer information that can be modified for an existing customer profile. The parent usergroup is optional for updates, allowing customers to remain in their current organizational placement.
input UpdateCustomerInput {
firstName: String
middleName: String
lastName: String
gender: Gender
email: String
phone: String
mobile: String
dateOfBirth: String
mailingList: YesNo
primaryLanguage: String
parentId: Int
}
Fields
UpdateCustomerInput.firstName
● String
scalar
Given name of the customer.
Primary name used for personal identification and communication. Maximum length of 30 characters.
UpdateCustomerInput.middleName
● String
scalar
Middle name or initial of the customer.
Additional name component used for formal identification when available. Maximum length of 20 characters.
UpdateCustomerInput.lastName
● String
scalar
Family name of the customer.
Surname used for formal identification and complete name display. Maximum length of 50 characters.
UpdateCustomerInput.gender
● Gender
enum
Gender identity of the customer.
Used for personalization and communication preferences. Respects privacy preferences and is not required for account functionality.
UpdateCustomerInput.email
● String
scalar
Primary email address for digital communication.
Main contact email used for account notifications, password resets, and business communications. Must be unique and in valid email format.
UpdateCustomerInput.phone
● String
scalar
Primary phone number for voice communication.
Landline or office phone number used for business communications and account verification. Maximum length of 30 characters.
UpdateCustomerInput.mobile
● String
scalar
Mobile phone number for direct communication.
Cell phone number used for SMS notifications, two-factor authentication, and urgent communications. Maximum length of 30 characters.
UpdateCustomerInput.dateOfBirth
● String
scalar
Date of birth for age verification and personalization.
Used for age-restricted features, birthday communications, and demographic analysis. Must be in the past and in YYYY-MM-DD format with exactly 10 characters.
UpdateCustomerInput.mailingList
● YesNo
enum
Marketing communication subscription preference.
Indicates whether the customer has opted in to receive marketing emails, newsletters, and promotional communications.
UpdateCustomerInput.primaryLanguage
● String
scalar
Preferred language for user interface and communications.
Two-character language code (e.g., 'EN', 'NL', 'DE') used for localizing the user interface and determining the language for automated communications. Must be exactly 2 characters.
UpdateCustomerInput.parentId
● Int
scalar
Parent usergroup identifier for organizational placement.
References the usergroup that will contain this customer in the organizational hierarchy. When provided, moves the customer to a different organizational unit.
Member Of
customerUpdate
mutation