For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
    • About Our APIs
  • REST
    • Overview
  • GraphQL
    • Overview
      • Overview
          • MUTaddUserToAccount
          • MUTremoveUserFromAccount
          • MUTcreateCheckout
          • MUTcancelSubscription
          • MUTcreateUserWithPassword
          • MUTcreateUser
          • MUTaddUserToStore
          • MUTremoveUserFromStore
          • MUTcreateEventSource
          • MUTdeleteEventSource
  • MCP
    • Overview
Dev Portal
LogoLogo
GraphQLAccountMutations

addUserToAccount

Example Query
1mutation ExampleMutation($input: AddUserToAccountInput) {
2 addUserToAccount(input: $input) {
3 account {
4 accountInfo
5 apps
6 checkout
7 id
8 stores
9 subscriptions
10 users
11 }
12 }
13}
Variables
1{
2 "input": {
3 "email": "example"
4 }
5}
Example response
1{
2 "data": {
3 "addUserToAccount": {
4 "account": {
5 "accountInfo": {
6 "name": null
7 },
8 "apps": {
9 "pageInfo": null,
10 "edges": null
11 },
12 "checkout": {
13 "id": null,
14 "accountId": null,
15 "checkoutUrl": null,
16 "items": null,
17 "status": null
18 },
19 "id": "example",
20 "stores": {
21 "pageInfo": null,
22 "edges": null
23 },
24 "subscriptions": {
25 "pageInfo": null,
26 "edges": null
27 },
28 "users": {
29 "pageInfo": null,
30 "edges": null,
31 "collectionInfo": null
32 }
33 }
34 }
35 }
36}
Adds a user to an account.
Was this page helpful?
Previous

system

Next

removeUserFromAccount

Built with

Arguments

inputAddUserToAccountInputRequired

Returns

an optional AddUserToAccountResult
accountAccount
An account the user was added to.