Skip to main content

CustomerUpdateTeamMemberInput

Changes to a team member. Omitted fields stay as they are.

input CustomerUpdateTeamMemberInput {
approverBranchAddressIds: [ID!]
approvesOrders: Boolean
customerApproverScope: String
department: String
firstName: String
lastName: String
orderLimit: Float
phone: String
role: String
title: String
userId: ID!
whatsapp: String
}

Fields​

CustomerUpdateTeamMemberInput.approverBranchAddressIds ● [ID!] list scalar​

granted branch address ids (required ≥1 when scope = BRANCH).

CustomerUpdateTeamMemberInput.approvesOrders ● Boolean scalar​

True when the person approves orders.

CustomerUpdateTeamMemberInput.customerApproverScope ● String scalar​

approver scope — COMPANY | BRANCH.

CustomerUpdateTeamMemberInput.department ● String scalar​

The person's department.

CustomerUpdateTeamMemberInput.firstName ● String scalar​

The person's first name.

CustomerUpdateTeamMemberInput.lastName ● String scalar​

The person's last name.

CustomerUpdateTeamMemberInput.orderLimit ● Float scalar​

The largest order the person may approve or place.

CustomerUpdateTeamMemberInput.phone ● String scalar​

Phone number.

CustomerUpdateTeamMemberInput.role ● String scalar​

CUSTOMER_ADMIN | CUSTOMER_BUYER | CUSTOMER_VIEWER.

CustomerUpdateTeamMemberInput.title ● String scalar​

The person's job title.

CustomerUpdateTeamMemberInput.userId ● ID! non-null scalar​

The ID of the user.

CustomerUpdateTeamMemberInput.whatsapp ● String scalar​

The person's WhatsApp number.

Member Of​

customerUpdateTeamMember mutation