Schema Documentation

RegisterCustomerInput

Description

Input for the registerCustomer 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.
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.

shipping - CustomerAddressInput

Customer shipping address

shippingSameAsBilling - Boolean

Customer shipping is identical to billing address

username - String

A string that contains the user's username.

websiteUrl - String

A string containing the user's URL for the user's web site.

yim - String

User's Yahoo IM account.

Example
{"aim":"xyz789","billing":CustomerAddressInput,"clientMutationId":"abc123","description":"abc123","displayName":"abc123","email":"xyz789","firstName":"abc123","jabber":"abc123","lastName":"xyz789","locale":"xyz789","metaData":[MetaDataInput],"nicename":"xyz789","nickname":"abc123","password":"xyz789","registered":"abc123","richEditing":"abc123","shipping":CustomerAddressInput,"shippingSameAsBilling":true,"username":"abc123","websiteUrl":"xyz789","yim":"xyz789"}