Description
Allows you to modify shop users or yourself. If you omit shop_id argument and provide your own id as the only id for ids argument, you can modify yourself.
When modifying shop users, you can only modify certain things on them, such as suspended flag or permissions. Modifying self on the other hand gives you full access to everything.
Permission bit: "users.modify"
Topic: Users
Arguments
data: [UserModify!]!
Main argument for mutations.
List of user ids. See also: Unique Identifiers
Example: ["us_EQzGqWoY"]
Unique shop identifier. See also: Unique Identifiers
Example: "sh_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
Name of the user
Example: "Jane Smith"
Valid when: name's length doesn't exceed 250 characters
A set of permission bits in context of a given shop
profile_image: ProfileImage
Which profile image should be used
Preferred color for auto profile image
Example: 5
A set of roles in context of a given shop
Whether user is suspended for a given shop or not
Example: false
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 (typescript)
Loading module