usersModify
Description
Allows you to modify yourself. If you your own id as the only id for ids argument, you can modify yourself.
Permission bit: "users.modify"
Topic: Users
Arguments
data: [UserModify!]!
Main argument for mutations.
List of user ids. See also: Unique Identifiers
Example: ["us_EQzGqWoY"]
Data Argument Fields
Raw content with user's bio
Example: "{}"
Valid when: bio_raw_content's length doesn't exceed 100000 characters
Default shop identifier
Example: "sh_EQzGqWoY"
Valid when: default_shop_id matches regexp pattern: ^sh_
Display name of the user (customers will see it)
Example: "Jane S."
Valid when: display_name's length doesn't exceed 250 characters
emails: [UserEmailCreate!]
Preferred language of the user
Name of the user
Example: "Jane Smith"
Valid when: name's length doesn't exceed 250 characters
prefer_twenty_four_hour: AutoBoolean
Whether to use 24h time format
profile_image: ProfileImage
Which profile image should be used
Preferred color for auto profile image
Example: 5
Name of the time zone the user is in
Example: "(GMT-05:00) Eastern Time"
Valid when: timezone's length doesn't exceed 50 characters
It has to be set to true and signifies that you agree with updated Lana TOS
Example: true
Result
[User!]
Preview
Loading module