Shared wallets for clubs and teams: groups, members, invitations and Shopify B2B companies.
A loyalty group is a shared wallet for a club, team or Shopify B2B company. Its balance sits on a master account; admins send points from it to members, who can also donate points or ask for them in the wallet. Segments can use a loyalty group condition, so Toki rechecks them when someone joins or leaves a group.
loyaltyGroupsLists all your loyalty groups, active and archived, newest first.loyaltyGroupReturns a group with its invitations and its Shopify company link in the current store.loyaltyGroupMembersLists a group's current members: admins first, then members, each in the order they joined.loyaltyGroupTransfersLists the points that moved through a group's wallet, newest first: points admins sent to members, approved point requests and donations to the group.shopifyCompaniesLists up to 100 B2B companies in the current Shopify store, to link one to a group with loyaltyGroupIntegrationConnect.loyaltyGroupIntegrationIssuesLists members Toki couldn't add to the group's Shopify company in the current store, with the error.loyaltyGroupCreateCreates a group, with a master account that holds its balance, and invites initialAdminEmail to be its first admin as loyaltyGroupInvite does.loyaltyGroupUpdateUpdates a group's name, settings or the balance its wallet holds (tokenId).loyaltyGroupArchiveArchives a group.loyaltyGroupInviteInvites an email address to the group as MEMBER or ADMIN, creating a member in the current store if there isn't one.loyaltyGroupInvitationRevokeRevokes a pending invitation, so the customer can no longer accept it.loyaltyGroupInvitationResendSends an invitation again: it's valid for another 7 days, and Toki sends the Toki Loyalty Group Invitation Sent event again.loyaltyGroupMemberRoleChanges a member's role.loyaltyGroupMemberRemoveRemoves a member from the group; points they already received stay in their balance.loyaltyGroupIntegrationConnectLinks the group to a B2B company in the current Shopify store, replacing any company it was linked to there.loyaltyGroupIntegrationDisconnectUnlinks the group from its Shopify company in the current store.loyaltyGroupIntegrationSyncSyncs the group with its linked Shopify company again, in the background: Toki adds the group's members as company contacts and brings in the company's contacts.Lists all your loyalty groups, active and archived, newest first. Their invitations and integration are null here; get them with loyaltyGroup.
A shared wallet for a club, team or Shopify B2B company, whose admins send points from the group balance to its members.
idID!Pass it as groupId to the other loyalty group operations.
nameString!statusTokiLoyaltyGroupStatus!ARCHIVED once you archive the group. An archived group keeps its balance and members, but its membership, roles and invitations can no longer change, and transfers, donations and point requests stop.
ACTIVEARCHIVEDmasterUserIdID!The ID of the group's master account, the member record that holds the group balance. users leaves it out unless you pass includeHidden.
tokenIdID!The ID of the balance the group wallet holds, such as your points (TokiUserBalance.id).
tokenNameStringThe name of the tokenId balance.
tokenSymbolStringThe symbol of the tokenId balance, if it has one.
settingsTokiLoyaltyGroupSettings!Who can find and join the group, and whether members can ask it for points (allowPointRequests). With visibility PUBLIC, the group is listed in the wallet for customers to find; joinPolicy decides whether they join right away (OPEN), once an admin accepts their request (APPROVAL_REQUIRED) or only by invitation (INVITE_ONLY).
masterBalanceFloat!The group balance in points: what the master account holds of tokenId.
masterBalanceDisplayString!masterBalance formatted for display, such as 1,000 Points or $10.00, following the balance's display settings.
createdAtString!updatedAtString!invitations[TokiLoyaltyGroupInvitations!]Every invitation to the group, newest first, whatever its status. null in loyaltyGroups.
integrationTokiLoyaltyGroupIntegrationThe group's link to a Shopify B2B company in the current store, or null if there is none. Always null in loyaltyGroups.
Returns a group with its invitations and its Shopify company link in the current store. List its members with loyaltyGroupMembers.
groupIdID!RequiredThe loyalty group (TokiLoyaltyGroup.id).
A shared wallet for a club, team or Shopify B2B company, whose admins send points from the group balance to its members.
idID!Pass it as groupId to the other loyalty group operations.
nameString!statusTokiLoyaltyGroupStatus!ARCHIVED once you archive the group. An archived group keeps its balance and members, but its membership, roles and invitations can no longer change, and transfers, donations and point requests stop.
ACTIVEARCHIVEDmasterUserIdID!The ID of the group's master account, the member record that holds the group balance. users leaves it out unless you pass includeHidden.
tokenIdID!The ID of the balance the group wallet holds, such as your points (TokiUserBalance.id).
tokenNameStringThe name of the tokenId balance.
tokenSymbolStringThe symbol of the tokenId balance, if it has one.
settingsTokiLoyaltyGroupSettings!Who can find and join the group, and whether members can ask it for points (allowPointRequests). With visibility PUBLIC, the group is listed in the wallet for customers to find; joinPolicy decides whether they join right away (OPEN), once an admin accepts their request (APPROVAL_REQUIRED) or only by invitation (INVITE_ONLY).
masterBalanceFloat!The group balance in points: what the master account holds of tokenId.
masterBalanceDisplayString!masterBalance formatted for display, such as 1,000 Points or $10.00, following the balance's display settings.
createdAtString!updatedAtString!invitations[TokiLoyaltyGroupInvitations!]Every invitation to the group, newest first, whatever its status. null in loyaltyGroups.
integrationTokiLoyaltyGroupIntegrationThe group's link to a Shopify B2B company in the current store, or null if there is none. Always null in loyaltyGroups.
Lists a group's current members: admins first, then members, each in the order they joined. Removed members aren't included.
groupIdID!RequiredThe loyalty group (TokiLoyaltyGroup.id).
searchStringText in the member's email, name, first name or last name; up to 200 characters.
roleTokiLoyaltyGroupRoleOnly members with this role.
ADMINMEMBERA page of TokiLoyaltyGroupMember in nodes, with pageInfo for the next page. Each item:
A member of a loyalty group.
idID!The ID of this membership in the group. Operations on members take userId instead.
userIdID!The member's TokiUser.id.
emailStringnameStringroleTokiLoyaltyGroupRole!A member's role in a loyalty group. Admins (ADMIN) manage the group in the wallet, such as sending points from the group balance; only members with the MEMBER role can ask the group for points.
ADMINMEMBERstatusTokiLoyaltyGroupMemberStatus!Always ACTIVE: loyaltyGroupMembers leaves out members who were removed.
ACTIVEREMOVEDbalanceFloat!The member's own balance of the group's tokenId, in points, including points from outside the group.
balanceDisplayString!balance formatted for display, such as 1,000 Points or $10.00.
joinedAtString!removedAtStringAlways null: loyaltyGroupMembers leaves out members who were removed.
Lists the points that moved through a group's wallet, newest first: points admins sent to members, approved point requests and donations to the group. Pending and declined point requests aren't included.
groupIdID!RequiredThe loyalty group (TokiLoyaltyGroup.id).
A page of TokiLoyaltyGroupTransfer in nodes, with pageInfo for the next page. Each item:
Points that moved between a loyalty group's wallet and one of its members.
idID!recipientUserIdID!Who received the points: the member, or the group's master account for a donation.
recipientEmailStringThe recipient's email; null for a donation.
recipientNameStringThe member's name, or the group's name for a donation.
actorUserIdIDWho moved the points: the admin who sent them or approved the request, or the member who donated them.
actorEmailStringThe email of actorUserId.
actorNameStringThe name of actorUserId.
tokenIdID!The balance the points moved in.
amountFloat!The points moved; always positive.
amountDisplayString!amount formatted for display, such as 1,000 Points or $10.00.
createdAtString!When the points moved; for a point request, when an admin approved it.
Lists up to 100 B2B companies in the current Shopify store, to link one to a group with loyaltyGroupIntegrationConnect. Returns an empty list if the current store isn't on Shopify.
queryStringFilters companies by name. Each word you enter matches as a prefix.
A B2B company in your Shopify store.
idString!The company's Shopify GID, such as gid://shopify/Company/123. Pass it as companyId.
nameString!externalIdStringThe company's external ID in Shopify, or null if it has none.
Lists members Toki couldn't add to the group's Shopify company in the current store, with the error. Returns at most the 6 most recent.
groupIdID!RequiredThe loyalty group (TokiLoyaltyGroup.id).
A member Toki couldn't add to a group's Shopify company.
idID!userIdID!The member.
emailStringnameStringmessageStringWhy the sync failed, for example a missing email.
updatedAtString!When the sync failed.
Creates a group, with a master account that holds its balance, and invites initialAdminEmail to be its first admin as loyaltyGroupInvite does. Settings you leave out default to PRIVATE, INVITE_ONLY and no point requests.
nameString!RequiredThe group's name, up to 120 characters.
tokenIdString!RequiredThe store credit the group wallet holds (TokiUserBalance.id): one of your store credits.
initialAdminEmailString!RequiredThe email address Toki invites as the group's first admin. They join the group once they accept in the wallet.
settingsTokiLoyaltyGroupSettingsInputWho can find and join a loyalty group, and whether its members can ask it for points. Settings you leave out default to PRIVATE, INVITE_ONLY and no point requests.
A shared wallet for a club, team or Shopify B2B company, whose admins send points from the group balance to its members.
idID!Pass it as groupId to the other loyalty group operations.
nameString!statusTokiLoyaltyGroupStatus!ARCHIVED once you archive the group. An archived group keeps its balance and members, but its membership, roles and invitations can no longer change, and transfers, donations and point requests stop.
ACTIVEARCHIVEDmasterUserIdID!The ID of the group's master account, the member record that holds the group balance. users leaves it out unless you pass includeHidden.
tokenIdID!The ID of the balance the group wallet holds, such as your points (TokiUserBalance.id).
tokenNameStringThe name of the tokenId balance.
tokenSymbolStringThe symbol of the tokenId balance, if it has one.
settingsTokiLoyaltyGroupSettings!Who can find and join the group, and whether members can ask it for points (allowPointRequests). With visibility PUBLIC, the group is listed in the wallet for customers to find; joinPolicy decides whether they join right away (OPEN), once an admin accepts their request (APPROVAL_REQUIRED) or only by invitation (INVITE_ONLY).
masterBalanceFloat!The group balance in points: what the master account holds of tokenId.
masterBalanceDisplayString!masterBalance formatted for display, such as 1,000 Points or $10.00, following the balance's display settings.
createdAtString!updatedAtString!invitations[TokiLoyaltyGroupInvitations!]Every invitation to the group, newest first, whatever its status. null in loyaltyGroups.
integrationTokiLoyaltyGroupIntegrationThe group's link to a Shopify B2B company in the current store, or null if there is none. Always null in loyaltyGroups.
Updates a group's name, settings or the balance its wallet holds (tokenId). Anything you leave out stays as it is, including individual settings. You can change tokenId only while the group balance is zero. Archived groups are read-only; updating one returns CONFLICT.
groupIdString!RequiredThe loyalty group (TokiLoyaltyGroup.id).
nameStringThe group's new name, up to 120 characters.
tokenIdStringThe store credit the group wallet holds (TokiUserBalance.id). Changing it needs a group balance of zero.
settingsTokiLoyaltyGroupUpdateSettingsInputOnly the settings you send change.
A shared wallet for a club, team or Shopify B2B company, whose admins send points from the group balance to its members.
idID!Pass it as groupId to the other loyalty group operations.
nameString!statusTokiLoyaltyGroupStatus!ARCHIVED once you archive the group. An archived group keeps its balance and members, but its membership, roles and invitations can no longer change, and transfers, donations and point requests stop.
ACTIVEARCHIVEDmasterUserIdID!The ID of the group's master account, the member record that holds the group balance. users leaves it out unless you pass includeHidden.
tokenIdID!The ID of the balance the group wallet holds, such as your points (TokiUserBalance.id).
tokenNameStringThe name of the tokenId balance.
tokenSymbolStringThe symbol of the tokenId balance, if it has one.
settingsTokiLoyaltyGroupSettings!Who can find and join the group, and whether members can ask it for points (allowPointRequests). With visibility PUBLIC, the group is listed in the wallet for customers to find; joinPolicy decides whether they join right away (OPEN), once an admin accepts their request (APPROVAL_REQUIRED) or only by invitation (INVITE_ONLY).
masterBalanceFloat!The group balance in points: what the master account holds of tokenId.
masterBalanceDisplayString!masterBalance formatted for display, such as 1,000 Points or $10.00, following the balance's display settings.
createdAtString!updatedAtString!invitations[TokiLoyaltyGroupInvitations!]Every invitation to the group, newest first, whatever its status. null in loyaltyGroups.
integrationTokiLoyaltyGroupIntegrationThe group's link to a Shopify B2B company in the current store, or null if there is none. Always null in loyaltyGroups.
Archives a group. It keeps its balance and members, but its membership, roles and invitations can no longer change, and transfers, donations and point requests stop. Archiving can't be undone through the API. Archiving an already archived group returns CONFLICT.
groupIdID!RequiredThe loyalty group (TokiLoyaltyGroup.id).
A shared wallet for a club, team or Shopify B2B company, whose admins send points from the group balance to its members.
idID!Pass it as groupId to the other loyalty group operations.
nameString!statusTokiLoyaltyGroupStatus!ARCHIVED once you archive the group. An archived group keeps its balance and members, but its membership, roles and invitations can no longer change, and transfers, donations and point requests stop.
ACTIVEARCHIVEDmasterUserIdID!The ID of the group's master account, the member record that holds the group balance. users leaves it out unless you pass includeHidden.
tokenIdID!The ID of the balance the group wallet holds, such as your points (TokiUserBalance.id).
tokenNameStringThe name of the tokenId balance.
tokenSymbolStringThe symbol of the tokenId balance, if it has one.
settingsTokiLoyaltyGroupSettings!Who can find and join the group, and whether members can ask it for points (allowPointRequests). With visibility PUBLIC, the group is listed in the wallet for customers to find; joinPolicy decides whether they join right away (OPEN), once an admin accepts their request (APPROVAL_REQUIRED) or only by invitation (INVITE_ONLY).
masterBalanceFloat!The group balance in points: what the master account holds of tokenId.
masterBalanceDisplayString!masterBalance formatted for display, such as 1,000 Points or $10.00, following the balance's display settings.
createdAtString!updatedAtString!invitations[TokiLoyaltyGroupInvitations!]Every invitation to the group, newest first, whatever its status. null in loyaltyGroups.
integrationTokiLoyaltyGroupIntegrationThe group's link to a Shopify B2B company in the current store, or null if there is none. Always null in loyaltyGroups.
Invites an email address to the group as MEMBER or ADMIN, creating a member in the current store if there isn't one. The invitation is valid for 7 days; inviting the same email again updates its pending invitation and restarts the 7 days. The customer accepts or declines it in the wallet, and Toki sends a Toki Loyalty Group Invitation Sent event to your connected integrations, such as Klaviyo.
groupIdString!RequiredThe loyalty group (TokiLoyaltyGroup.id).
emailString!RequiredroleTokiLoyaltyGroupRole!RequiredThe role the customer gets when they accept.
ADMINMEMBERA shared wallet for a club, team or Shopify B2B company, whose admins send points from the group balance to its members.
idID!Pass it as groupId to the other loyalty group operations.
nameString!statusTokiLoyaltyGroupStatus!ARCHIVED once you archive the group. An archived group keeps its balance and members, but its membership, roles and invitations can no longer change, and transfers, donations and point requests stop.
ACTIVEARCHIVEDmasterUserIdID!The ID of the group's master account, the member record that holds the group balance. users leaves it out unless you pass includeHidden.
tokenIdID!The ID of the balance the group wallet holds, such as your points (TokiUserBalance.id).
tokenNameStringThe name of the tokenId balance.
tokenSymbolStringThe symbol of the tokenId balance, if it has one.
settingsTokiLoyaltyGroupSettings!Who can find and join the group, and whether members can ask it for points (allowPointRequests). With visibility PUBLIC, the group is listed in the wallet for customers to find; joinPolicy decides whether they join right away (OPEN), once an admin accepts their request (APPROVAL_REQUIRED) or only by invitation (INVITE_ONLY).
masterBalanceFloat!The group balance in points: what the master account holds of tokenId.
masterBalanceDisplayString!masterBalance formatted for display, such as 1,000 Points or $10.00, following the balance's display settings.
createdAtString!updatedAtString!invitations[TokiLoyaltyGroupInvitations!]Every invitation to the group, newest first, whatever its status. null in loyaltyGroups.
integrationTokiLoyaltyGroupIntegrationThe group's link to a Shopify B2B company in the current store, or null if there is none. Always null in loyaltyGroups.
Revokes a pending invitation, so the customer can no longer accept it.
invitationIdString!RequiredThe invitation's ID, from TokiLoyaltyGroup.invitations.
A shared wallet for a club, team or Shopify B2B company, whose admins send points from the group balance to its members.
idID!Pass it as groupId to the other loyalty group operations.
nameString!statusTokiLoyaltyGroupStatus!ARCHIVED once you archive the group. An archived group keeps its balance and members, but its membership, roles and invitations can no longer change, and transfers, donations and point requests stop.
ACTIVEARCHIVEDmasterUserIdID!The ID of the group's master account, the member record that holds the group balance. users leaves it out unless you pass includeHidden.
tokenIdID!The ID of the balance the group wallet holds, such as your points (TokiUserBalance.id).
tokenNameStringThe name of the tokenId balance.
tokenSymbolStringThe symbol of the tokenId balance, if it has one.
settingsTokiLoyaltyGroupSettings!Who can find and join the group, and whether members can ask it for points (allowPointRequests). With visibility PUBLIC, the group is listed in the wallet for customers to find; joinPolicy decides whether they join right away (OPEN), once an admin accepts their request (APPROVAL_REQUIRED) or only by invitation (INVITE_ONLY).
masterBalanceFloat!The group balance in points: what the master account holds of tokenId.
masterBalanceDisplayString!masterBalance formatted for display, such as 1,000 Points or $10.00, following the balance's display settings.
createdAtString!updatedAtString!invitations[TokiLoyaltyGroupInvitations!]Every invitation to the group, newest first, whatever its status. null in loyaltyGroups.
integrationTokiLoyaltyGroupIntegrationThe group's link to a Shopify B2B company in the current store, or null if there is none. Always null in loyaltyGroups.
Sends an invitation again: it's valid for another 7 days, and Toki sends the Toki Loyalty Group Invitation Sent event again. If the invitation is no longer pending, Toki creates a new one for the same email and role.
invitationIdString!RequiredThe invitation's ID, from TokiLoyaltyGroup.invitations.
A shared wallet for a club, team or Shopify B2B company, whose admins send points from the group balance to its members.
idID!Pass it as groupId to the other loyalty group operations.
nameString!statusTokiLoyaltyGroupStatus!ARCHIVED once you archive the group. An archived group keeps its balance and members, but its membership, roles and invitations can no longer change, and transfers, donations and point requests stop.
ACTIVEARCHIVEDmasterUserIdID!The ID of the group's master account, the member record that holds the group balance. users leaves it out unless you pass includeHidden.
tokenIdID!The ID of the balance the group wallet holds, such as your points (TokiUserBalance.id).
tokenNameStringThe name of the tokenId balance.
tokenSymbolStringThe symbol of the tokenId balance, if it has one.
settingsTokiLoyaltyGroupSettings!Who can find and join the group, and whether members can ask it for points (allowPointRequests). With visibility PUBLIC, the group is listed in the wallet for customers to find; joinPolicy decides whether they join right away (OPEN), once an admin accepts their request (APPROVAL_REQUIRED) or only by invitation (INVITE_ONLY).
masterBalanceFloat!The group balance in points: what the master account holds of tokenId.
masterBalanceDisplayString!masterBalance formatted for display, such as 1,000 Points or $10.00, following the balance's display settings.
createdAtString!updatedAtString!invitations[TokiLoyaltyGroupInvitations!]Every invitation to the group, newest first, whatever its status. null in loyaltyGroups.
integrationTokiLoyaltyGroupIntegrationThe group's link to a Shopify B2B company in the current store, or null if there is none. Always null in loyaltyGroups.
Changes a member's role. Admins manage the group from their wallet: they send points from the group balance, review point and join requests, and invite and remove members. A group keeps at least one admin, and roles don't sync to a linked Shopify company.
groupIdString!RequiredThe loyalty group (TokiLoyaltyGroup.id).
userIdString!RequiredThe member's ID (TokiLoyaltyGroupMember.userId), not the membership id.
roleTokiLoyaltyGroupRole!RequiredA member's role in a loyalty group. Admins (ADMIN) manage the group in the wallet, such as sending points from the group balance; only members with the MEMBER role can ask the group for points.
ADMINMEMBERA shared wallet for a club, team or Shopify B2B company, whose admins send points from the group balance to its members.
idID!Pass it as groupId to the other loyalty group operations.
nameString!statusTokiLoyaltyGroupStatus!ARCHIVED once you archive the group. An archived group keeps its balance and members, but its membership, roles and invitations can no longer change, and transfers, donations and point requests stop.
ACTIVEARCHIVEDmasterUserIdID!The ID of the group's master account, the member record that holds the group balance. users leaves it out unless you pass includeHidden.
tokenIdID!The ID of the balance the group wallet holds, such as your points (TokiUserBalance.id).
tokenNameStringThe name of the tokenId balance.
tokenSymbolStringThe symbol of the tokenId balance, if it has one.
settingsTokiLoyaltyGroupSettings!Who can find and join the group, and whether members can ask it for points (allowPointRequests). With visibility PUBLIC, the group is listed in the wallet for customers to find; joinPolicy decides whether they join right away (OPEN), once an admin accepts their request (APPROVAL_REQUIRED) or only by invitation (INVITE_ONLY).
masterBalanceFloat!The group balance in points: what the master account holds of tokenId.
masterBalanceDisplayString!masterBalance formatted for display, such as 1,000 Points or $10.00, following the balance's display settings.
createdAtString!updatedAtString!invitations[TokiLoyaltyGroupInvitations!]Every invitation to the group, newest first, whatever its status. null in loyaltyGroups.
integrationTokiLoyaltyGroupIntegrationThe group's link to a Shopify B2B company in the current store, or null if there is none. Always null in loyaltyGroups.
Removes a member from the group; points they already received stay in their balance. If the group is linked to a Shopify company, Toki also removes them from its contacts. You can't remove the group's last admin.
groupIdString!RequiredThe loyalty group (TokiLoyaltyGroup.id).
userIdString!RequiredThe member's ID (TokiLoyaltyGroupMember.userId), not the membership id.
A shared wallet for a club, team or Shopify B2B company, whose admins send points from the group balance to its members.
idID!Pass it as groupId to the other loyalty group operations.
nameString!statusTokiLoyaltyGroupStatus!ARCHIVED once you archive the group. An archived group keeps its balance and members, but its membership, roles and invitations can no longer change, and transfers, donations and point requests stop.
ACTIVEARCHIVEDmasterUserIdID!The ID of the group's master account, the member record that holds the group balance. users leaves it out unless you pass includeHidden.
tokenIdID!The ID of the balance the group wallet holds, such as your points (TokiUserBalance.id).
tokenNameStringThe name of the tokenId balance.
tokenSymbolStringThe symbol of the tokenId balance, if it has one.
settingsTokiLoyaltyGroupSettings!Who can find and join the group, and whether members can ask it for points (allowPointRequests). With visibility PUBLIC, the group is listed in the wallet for customers to find; joinPolicy decides whether they join right away (OPEN), once an admin accepts their request (APPROVAL_REQUIRED) or only by invitation (INVITE_ONLY).
masterBalanceFloat!The group balance in points: what the master account holds of tokenId.
masterBalanceDisplayString!masterBalance formatted for display, such as 1,000 Points or $10.00, following the balance's display settings.
createdAtString!updatedAtString!invitations[TokiLoyaltyGroupInvitations!]Every invitation to the group, newest first, whatever its status. null in loyaltyGroups.
integrationTokiLoyaltyGroupIntegrationThe group's link to a Shopify B2B company in the current store, or null if there is none. Always null in loyaltyGroups.
Links the group to a B2B company in the current Shopify store, replacing any company it was linked to there. In the background, Toki then keeps both in step: group members become company contacts, and company contacts, including existing ones, join the group as MEMBER or with the role of their pending invitation. Each customer can belong to groups linked to only one company per store.
groupIdID!RequiredThe loyalty group (TokiLoyaltyGroup.id).
companyIdString!RequiredThe company's Shopify GID, as returned by shopifyCompanies.
companyNameString!RequiredThe company's name, stored as externalName. Toki doesn't check it against Shopify.
A shared wallet for a club, team or Shopify B2B company, whose admins send points from the group balance to its members.
idID!Pass it as groupId to the other loyalty group operations.
nameString!statusTokiLoyaltyGroupStatus!ARCHIVED once you archive the group. An archived group keeps its balance and members, but its membership, roles and invitations can no longer change, and transfers, donations and point requests stop.
ACTIVEARCHIVEDmasterUserIdID!The ID of the group's master account, the member record that holds the group balance. users leaves it out unless you pass includeHidden.
tokenIdID!The ID of the balance the group wallet holds, such as your points (TokiUserBalance.id).
tokenNameStringThe name of the tokenId balance.
tokenSymbolStringThe symbol of the tokenId balance, if it has one.
settingsTokiLoyaltyGroupSettings!Who can find and join the group, and whether members can ask it for points (allowPointRequests). With visibility PUBLIC, the group is listed in the wallet for customers to find; joinPolicy decides whether they join right away (OPEN), once an admin accepts their request (APPROVAL_REQUIRED) or only by invitation (INVITE_ONLY).
masterBalanceFloat!The group balance in points: what the master account holds of tokenId.
masterBalanceDisplayString!masterBalance formatted for display, such as 1,000 Points or $10.00, following the balance's display settings.
createdAtString!updatedAtString!invitations[TokiLoyaltyGroupInvitations!]Every invitation to the group, newest first, whatever its status. null in loyaltyGroups.
integrationTokiLoyaltyGroupIntegrationThe group's link to a Shopify B2B company in the current store, or null if there is none. Always null in loyaltyGroups.
Unlinks the group from its Shopify company in the current store. Toki stops syncing; the company, its contacts and the group's members stay as they are.
groupIdID!RequiredThe loyalty group (TokiLoyaltyGroup.id).
A shared wallet for a club, team or Shopify B2B company, whose admins send points from the group balance to its members.
idID!Pass it as groupId to the other loyalty group operations.
nameString!statusTokiLoyaltyGroupStatus!ARCHIVED once you archive the group. An archived group keeps its balance and members, but its membership, roles and invitations can no longer change, and transfers, donations and point requests stop.
ACTIVEARCHIVEDmasterUserIdID!The ID of the group's master account, the member record that holds the group balance. users leaves it out unless you pass includeHidden.
tokenIdID!The ID of the balance the group wallet holds, such as your points (TokiUserBalance.id).
tokenNameStringThe name of the tokenId balance.
tokenSymbolStringThe symbol of the tokenId balance, if it has one.
settingsTokiLoyaltyGroupSettings!Who can find and join the group, and whether members can ask it for points (allowPointRequests). With visibility PUBLIC, the group is listed in the wallet for customers to find; joinPolicy decides whether they join right away (OPEN), once an admin accepts their request (APPROVAL_REQUIRED) or only by invitation (INVITE_ONLY).
masterBalanceFloat!The group balance in points: what the master account holds of tokenId.
masterBalanceDisplayString!masterBalance formatted for display, such as 1,000 Points or $10.00, following the balance's display settings.
createdAtString!updatedAtString!invitations[TokiLoyaltyGroupInvitations!]Every invitation to the group, newest first, whatever its status. null in loyaltyGroups.
integrationTokiLoyaltyGroupIntegrationThe group's link to a Shopify B2B company in the current store, or null if there is none. Always null in loyaltyGroups.
Syncs the group with its linked Shopify company again, in the background: Toki adds the group's members as company contacts and brings in the company's contacts. The group must be active and linked in the current store.
groupIdID!RequiredThe loyalty group (TokiLoyaltyGroup.id).
A shared wallet for a club, team or Shopify B2B company, whose admins send points from the group balance to its members.
idID!Pass it as groupId to the other loyalty group operations.
nameString!statusTokiLoyaltyGroupStatus!ARCHIVED once you archive the group. An archived group keeps its balance and members, but its membership, roles and invitations can no longer change, and transfers, donations and point requests stop.
ACTIVEARCHIVEDmasterUserIdID!The ID of the group's master account, the member record that holds the group balance. users leaves it out unless you pass includeHidden.
tokenIdID!The ID of the balance the group wallet holds, such as your points (TokiUserBalance.id).
tokenNameStringThe name of the tokenId balance.
tokenSymbolStringThe symbol of the tokenId balance, if it has one.
settingsTokiLoyaltyGroupSettings!Who can find and join the group, and whether members can ask it for points (allowPointRequests). With visibility PUBLIC, the group is listed in the wallet for customers to find; joinPolicy decides whether they join right away (OPEN), once an admin accepts their request (APPROVAL_REQUIRED) or only by invitation (INVITE_ONLY).
masterBalanceFloat!The group balance in points: what the master account holds of tokenId.
masterBalanceDisplayString!masterBalance formatted for display, such as 1,000 Points or $10.00, following the balance's display settings.
createdAtString!updatedAtString!invitations[TokiLoyaltyGroupInvitations!]Every invitation to the group, newest first, whatever its status. null in loyaltyGroups.
integrationTokiLoyaltyGroupIntegrationThe group's link to a Shopify B2B company in the current store, or null if there is none. Always null in loyaltyGroups.