Skip to main content

Arguments

Input variables needed for linking a list of accounts to an establishment.

Returns

LinkAccountsToEstablishment

Link an establishment to a list of accounts.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can link establishments to accounts AND Can query accounts with account number AND Can query establishments

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation LinkAccountsToEstablishment($input: LinkAccountsToEstablishmentInput!) { linkAccountsToEstablishment(input: $input) { accounts { ...AccountConnectionTypeConnectionFragment } establishment { ...EstablishmentTypeFragment } } }

Variables

Response

{ "data": { "linkAccountsToEstablishment": { "accounts": AccountConnectionTypeConnection, "establishment": EstablishmentType } } }