organizationsInvitationsCreate
Description
Create and send one or multiple user invitations.
Topic: Invitations
Arguments
data: [OrganizationInvitationCreate!]!
Main argument for mutations.
Unique organization identifier. See also: Unique Identifiers
Example: "og_EQzGqWoY"
Data Argument Fields
Entity ID the user is invited to
Example: "en_EQzGqWoY"
Valid when: admin_entity_id matches regexp pattern: ^en_
Whether user is an admin of organization
Example: true
Email of the invited user
Example: "no+spam@mail.com"
Valid when: email's length doesn't exceed 250 characters
Name of the user (used when sending an email)
Example: "Jane Smith"
Valid when: name's length doesn't exceed 250 characters
A set of permission bits to set for a user when he accepts an invite
A set of roles to set for a user when he accepts an invite
Shop ID the user is invited to
Example: "sh_EQzGqWoY"
Valid when: shop_id matches regexp pattern: ^sh_
Result
Preview (typescript)
Loading module