Schema Documentation

UpdateCustomerInput

Description

Input for the updateCustomer mutation.

Fields
Input FieldDescription
aim - String User's AOL IM account.
billing - CustomerAddressInput Customer billing information
clientMutationId - String This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions.
description - String A string containing content about the user.
displayName - String A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user).
email - String A string containing the user's email address.
firstName - String
The user's first name.
id - ID The ID of the user
jabber - String User's Jabber account.
lastName - String The user's last name.
locale - String User's locale.
metaData - [MetaDataInput] Meta data.
nicename - String A string that contains a URL-friendly name for the user. The default is the user's username.
nickname - String The user's nickname, defaults to the user's username.
password - String A string that contains the plain text password for the user.
registered - String The date the user registered. Format is Y-m-d H:i:s.
richEditing - String A string for whether to enable the rich editor or not. False if not empty.
roles - [String] An array of roles to be assigned to the user.
shipping - CustomerAddressInput Customer shipping address
shippingSameAsBilling - Boolean Customer shipping is identical to billing address
websiteUrl - String A string containing the user's URL for the user's web site.
yim - String User's Yahoo IM account.
Example
{"aim":"abc123","billing":CustomerAddressInput,"clientMutationId":"abc123","description":"abc123","displayName":"xyz789","email":"xyz789","firstName":"xyz789","id":"4","jabber":"abc123","lastName":"abc123","locale":"xyz789","metaData":[MetaDataInput],"nicename":"abc123","nickname":"xyz789","password":"abc123","registered":"abc123","richEditing":"xyz789","roles":["xyz789"],"shipping":CustomerAddressInput,"shippingSameAsBilling":true,"websiteUrl":"xyz789","yim":"xyz789"}