Skip to main content

StaffUserInput

A customer, staff member or marketplace operator account.

input StaffUserInput {
AND: StaffUserInput
OR: StaffUserInput
NOT: StaffUserInput
DISTINCT: Boolean
status: StaffMemberStatus
isUserActive: Boolean
search: String
customFields: [AttributeInput!]
}

Fields​

StaffUserInput.AND ● StaffUserInput input​

Another filter of this same type that a result must also match. The fields set on one filter object are already combined with AND, so use this to apply a second condition to a field you have already set (for example two search terms that must both match), or to group conditions inside OR or NOT. Guide: https://guide.thetraide.com/docs/developer/getting-started/filtering

StaffUserInput.OR ● StaffUserInput input​

Another filter of this same type, offered as an alternative. A result matches when it matches this filter, OR when it matches every other condition set beside it, AND and NOT included: {a, b, OR: {c}} means (a AND b) OR c. For three or more alternatives, nest OR inside OR. Guide: https://guide.thetraide.com/docs/developer/getting-started/filtering

StaffUserInput.NOT ● StaffUserInput input​

A filter of this same type that a result must not match. Its conditions are combined with AND before the negation, so NOT: {a, b} removes only the results matching both a and b. To remove results matching either, use NOT: {a, OR: {b}}. Guide: https://guide.thetraide.com/docs/developer/getting-started/filtering

StaffUserInput.DISTINCT ● Boolean scalar​

Set to true to return each matching result at most once, by adding DISTINCT to the database query. Only needed when a result repeats in the list; leave it unset otherwise, since DISTINCT adds work to the query. Guide: https://guide.thetraide.com/docs/developer/getting-started/filtering

StaffUserInput.status ● StaffMemberStatus enum​

StaffUserInput.isUserActive ● Boolean scalar​

StaffUserInput.search ● String scalar​

StaffUserInput.customFields ● [AttributeInput!] list input​

Member Of​

StaffUserInput input ● staffUsers query

Was this page helpful?