Skip to main content

SetCustomerApproverScopeInput

Sets whether a customer's approvers act for the whole company or one branch.

input SetCustomerApproverScopeInput {
addressIds: [ID!]
scope: CustomerApproverScope!
userId: ID!
}

Fields​

SetCustomerApproverScopeInput.addressIds ● [ID!] list scalar​

Required (≥1) when scope = BRANCH; ignored under COMPANY. Full-array replace.

SetCustomerApproverScopeInput.scope ● CustomerApproverScope! non-null enum​

COMPANY for the whole company, BRANCH for one branch.

SetCustomerApproverScopeInput.userId ● ID! non-null scalar​

The ID of the user.

Member Of​

setCustomerApproverScope mutation