Skip to main content

CustomerWhereInput Input Type

No description

input CustomerWhereInput {
metadata: MetadataFilterInput
ids: [ID!]
email: StringFilterInput
firstName: StringFilterInput
lastName: StringFilterInput
isActive: Boolean
dateJoined: DateTimeRangeInput
updatedAt: DateTimeRangeInput
placedOrdersAt: DateTimeRangeInput
addresses: AddressFilterInput
numberOfOrders: IntFilterInput
customerType: GlobalIDFilterInput
attributes: [AssignedAttributeWhereInput!]
AND: [CustomerWhereInput!]
OR: [CustomerWhereInput!]
}

Fields​

metadata ● MetadataFilterInput​

Filter by metadata fields.

ids ● [ID!]​

email ● StringFilterInput​

Filter by email address.

firstName ● StringFilterInput​

Filter by first name.

lastName ● StringFilterInput​

Filter by last name.

isActive ● Boolean​

Filter by whether the user is active.

dateJoined ● DateTimeRangeInput​

Filter by date joined.

updatedAt ● DateTimeRangeInput​

Filter by last updated date.

placedOrdersAt ● DateTimeRangeInput​

Filter by date when orders were placed.

addresses ● AddressFilterInput​

Filter by addresses data associated with user.

numberOfOrders ● IntFilterInput​

Filter by number of orders placed by the user.

customerType ● GlobalIDFilterInput​

Filter by customer type. Filtering by the default customer type also matches users without an explicitly assigned customer type.

Added in Saleor 3.23

attributes ● [AssignedAttributeWhereInput!]​

Filter by attributes associated with the customer.

Added in Saleor 3.23

AND ● [CustomerWhereInput!]​

List of conditions that must be met.

OR ● [CustomerWhereInput!]​

A list of conditions of which at least one must be met.

Member Of​

customers query ● CustomerWhereInput input