Users > Users > organizationsUsers
organizationsUsers
POST:organizations/users.json
Description
Modify organization users.
Topic: Users
Arguments
data: [OrganizationUserModify!]!
Main argument for mutations.
List of user ids. See also: Unique Identifiers
Example: ["us_EQzGqWoY"]
Unique organization identifier. See also: Unique Identifiers
Example: "og_EQzGqWoY"
Data Argument Fields
Entity ID the user is admin of
Example: "en_EQzGqWoY"
Valid when: admin_entity_id matches regexp pattern: ^en_
Whether user is an admin of organization
Example: true
A set of permission bits in context of a given shop
A set of roles in context of a given shop
Shop ID user has permissions to work on
Example: "sh_EQzGqWoY"
Valid when: shop_id matches regexp pattern: ^sh_
Result
Preview (typescript)
Loading module