Skip to main content

CustomerTeamMember

One buyer-side team member (a CUSTOMER-userType User under this partner).

type CustomerTeamMember {
approvesOrders: Boolean!
assignedAddressIds: [ID!]!
department: String
email: String!
firstName: String!
inviteStatus: String!
lastName: String!
orderLimit: Float
phone: String
referenceId: String
role: String!
status: String!
title: String
userId: ID!
whatsapp: String
}

Fields​

CustomerTeamMember.approvesOrders ● Boolean! non-null scalar​

May approve teammates' over-limit order requests (screen 14).

CustomerTeamMember.assignedAddressIds ● [ID!]! non-null scalar​

Addresses assigned to this member by the account owner. EMPTY means unrestricted — the member sees the whole account address book — NOT that they have none. A non-empty list confines them to exactly those addresses and hides their add/edit address controls.

CustomerTeamMember.department ● String scalar​

Contact.department.

CustomerTeamMember.email ● String! non-null scalar​

Email address.

CustomerTeamMember.firstName ● String! non-null scalar​

The person's first name.

CustomerTeamMember.inviteStatus ● String! non-null scalar​

PENDING (invited, not yet accepted) | ACTIVE (accepted + enabled) | DEACTIVATED (accepted, access revoked). Only a DEACTIVATED member can be reactivated.

CustomerTeamMember.lastName ● String! non-null scalar​

The person's last name.

CustomerTeamMember.orderLimit ● Float scalar​

Per-buyer order-value ceiling (org base currency; null = no limit)..

CustomerTeamMember.phone ● String scalar​

User.phone, falling back to the person's PHONE contact row.

CustomerTeamMember.referenceId ● String scalar​

The member's permanent contact reference (Contact.referenceId, e.g. C000110-a3f91b7e). Absent when no contact row carries one — a partner with no code, a login invited with no contact ever filed, or a row predating the backfill. Clients render nothing rather than a placeholder.

CustomerTeamMember.role ● String! non-null scalar​

CUSTOMER_ADMIN | CUSTOMER_BUYER | CUSTOMER_VIEWER.

CustomerTeamMember.status ● String! non-null scalar​

ACTIVE | INACTIVE — the raw User.status.

CustomerTeamMember.title ● String scalar​

Contact.contactTitle — job title.

CustomerTeamMember.userId ● ID! non-null scalar​

The ID of the user.

CustomerTeamMember.whatsapp ● String scalar​

The person's WHATSAPP contact row value.

Returned By​

customerInviteTeamMember mutation ● customerTeam query ● customerUpdateTeamMember mutation