UpdateCustomerUserInput
Changes to one customer login, made by the seller.
input UpdateCustomerUserInput {
approverBranchAddressIds: [ID!]
approvesOrders: Boolean
assignedAddressIds: [ID!]
customerApproverScope: String
firstName: String
lastName: String
orderLimit: Float
role: String
userId: ID!
}
Fields
UpdateCustomerUserInput.approverBranchAddressIds ● [ID!] list scalar
granted branch address ids (required ≥ 1 when scope = BRANCH). Full-array replace of this user's PartnerBranchApprover rows.
UpdateCustomerUserInput.approvesOrders ● Boolean scalar
True when the person approves orders.
UpdateCustomerUserInput.assignedAddressIds ● [ID!] list scalar
The FULL set of addresses assigned to this user (PartnerBranchMember). Any live address of the partner is assignable — it need not be a branch. Full-array replace — OMIT to leave assignments untouched; [] clears them, which returns the user to the whole address book (unrestricted), not to none.
UpdateCustomerUserInput.customerApproverScope ● String scalar
approver scope — COMPANY | BRANCH.
UpdateCustomerUserInput.firstName ● String scalar
The person's first name.
UpdateCustomerUserInput.lastName ● String scalar
The person's last name.
UpdateCustomerUserInput.orderLimit ● Float scalar
Per-order ceiling; null clears it (no limit). Must be > 0.
UpdateCustomerUserInput.role ● String scalar
CUSTOMER_ADMIN (Owner) | CUSTOMER_BUYER | CUSTOMER_VIEWER.
UpdateCustomerUserInput.userId ● ID! non-null scalar
The ID of the user.
Member Of
updateCustomerUser mutation